Linter fixes
This commit is contained in:
		
					parent
					
						
							
								35aaad68d7
							
						
					
				
			
			
				commit
				
					
						39c6e2d2e5
					
				
			
		
					 2 changed files with 8 additions and 3 deletions
				
			
		| 
						 | 
					@ -8,6 +8,10 @@
 | 
				
			||||||
#include <utility>
 | 
					#include <utility>
 | 
				
			||||||
#include <vector>
 | 
					#include <vector>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#if defined(OS_WIN)
 | 
				
			||||||
 | 
					#include <shlobj.h>
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "atom/browser/atom_browser_context.h"
 | 
					#include "atom/browser/atom_browser_context.h"
 | 
				
			||||||
#include "atom/browser/atom_browser_main_parts.h"
 | 
					#include "atom/browser/atom_browser_main_parts.h"
 | 
				
			||||||
#include "atom/browser/browser.h"
 | 
					#include "atom/browser/browser.h"
 | 
				
			||||||
| 
						 | 
					@ -50,7 +54,6 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#if defined(OS_WIN)
 | 
					#if defined(OS_WIN)
 | 
				
			||||||
#include "ui/gfx/switches.h"
 | 
					#include "ui/gfx/switches.h"
 | 
				
			||||||
#include <shlobj.h>
 | 
					 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
using content::NavigationEntry;
 | 
					using content::NavigationEntry;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -92,8 +92,10 @@ void AtomRendererClient::WebKitInitialized() {
 | 
				
			||||||
  blink::WebCustomElement::addEmbedderCustomElementName("browserplugin");
 | 
					  blink::WebCustomElement::addEmbedderCustomElementName("browserplugin");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#if defined(OS_WIN)
 | 
					#if defined(OS_WIN)
 | 
				
			||||||
  base::CommandLine* command_line = base::CommandLine::ForCurrentProcess();
 | 
					  base::CommandLine* command_line =
 | 
				
			||||||
  base::string16 explicit_app_id = command_line->GetSwitchValueNative(switches::kAppUserModelId);
 | 
					    base::CommandLine::ForCurrentProcess();
 | 
				
			||||||
 | 
					  base::string16 explicit_app_id =
 | 
				
			||||||
 | 
					    command_line->GetSwitchValueNative(switches::kAppUserModelId);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  if (explicit_app_id.length() > 0) {
 | 
					  if (explicit_app_id.length() > 0) {
 | 
				
			||||||
    SetCurrentProcessExplicitAppUserModelID(explicit_app_id.c_str());
 | 
					    SetCurrentProcessExplicitAppUserModelID(explicit_app_id.c_str());
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue