mirror of
https://github.com/electron/electron.git
synced 2026-01-23 06:18:17 -05:00
Linter fixes
This commit is contained in:
@@ -8,6 +8,10 @@
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#if defined(OS_WIN)
|
||||
#include <shlobj.h>
|
||||
#endif
|
||||
|
||||
#include "atom/browser/atom_browser_context.h"
|
||||
#include "atom/browser/atom_browser_main_parts.h"
|
||||
#include "atom/browser/browser.h"
|
||||
@@ -50,7 +54,6 @@
|
||||
|
||||
#if defined(OS_WIN)
|
||||
#include "ui/gfx/switches.h"
|
||||
#include <shlobj.h>
|
||||
#endif
|
||||
|
||||
using content::NavigationEntry;
|
||||
|
||||
@@ -92,8 +92,10 @@ void AtomRendererClient::WebKitInitialized() {
|
||||
blink::WebCustomElement::addEmbedderCustomElementName("browserplugin");
|
||||
|
||||
#if defined(OS_WIN)
|
||||
base::CommandLine* command_line = base::CommandLine::ForCurrentProcess();
|
||||
base::string16 explicit_app_id = command_line->GetSwitchValueNative(switches::kAppUserModelId);
|
||||
base::CommandLine* command_line =
|
||||
base::CommandLine::ForCurrentProcess();
|
||||
base::string16 explicit_app_id =
|
||||
command_line->GetSwitchValueNative(switches::kAppUserModelId);
|
||||
|
||||
if (explicit_app_id.length() > 0) {
|
||||
SetCurrentProcessExplicitAppUserModelID(explicit_app_id.c_str());
|
||||
|
||||
Reference in New Issue
Block a user