Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(503)

Unified Diff: chrome/browser/process_singleton_win.cc

Issue 14698027: Move winaura specific methods and members from chrome/browser/browser_process.h to chrome/browser/b… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix includes in testing_browser_process_platform_part.h Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/metro_viewer/metro_viewer_process_host_win.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/process_singleton_win.cc
diff --git a/chrome/browser/process_singleton_win.cc b/chrome/browser/process_singleton_win.cc
index f8aaf81999912f968867027f6dbac119261ea758..237a4a2e3fcba3c117f286c3234cac717d8c41dc 100644
--- a/chrome/browser/process_singleton_win.cc
+++ b/chrome/browser/process_singleton_win.cc
@@ -38,6 +38,12 @@
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/win/hwnd_util.h"
+#if defined(USE_AURA)
+#include "chrome/browser/browser_process_platform_part_aurawin.h"
+#else
+#include "chrome/browser/browser_process_platform_part.h"
+#endif
+
namespace {
const char kLockfile[] = "lockfile";
@@ -406,7 +412,7 @@ ProcessSingleton::NotifyResult ProcessSingleton::NotifyOtherProcessOrCreate() {
if (result == PROCESS_NONE)
result = PROFILE_IN_USE;
} else {
- g_browser_process->PlatformSpecificCommandLineProcessing(
+ g_browser_process->platform_part()->PlatformSpecificCommandLineProcessing(
*CommandLine::ForCurrentProcess());
}
return result;
« no previous file with comments | « chrome/browser/metro_viewer/metro_viewer_process_host_win.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698