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

Unified Diff: chrome/browser/chrome_browser_main.h

Issue 1473693002: Activating code to start Chrome UI in Android Aura Chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review Created 5 years 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 | « no previous file | chrome/browser/chrome_browser_main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_browser_main.h
diff --git a/chrome/browser/chrome_browser_main.h b/chrome/browser/chrome_browser_main.h
index 140a9606bc4cc776b60cfae1e6477b821be24529..e142ad290eca4fb8df62d61614cd23dd4fb78303 100644
--- a/chrome/browser/chrome_browser_main.h
+++ b/chrome/browser/chrome_browser_main.h
@@ -164,7 +164,10 @@ class ChromeBrowserMainParts : public content::BrowserMainParts {
scoped_ptr<BrowserProcessImpl> browser_process_;
scoped_refptr<metrics::TrackingSynchronizer> tracking_synchronizer_;
-#if !defined(OS_ANDROID)
+
+ // TODO(bshe): Use !defined(ANDROID_JAVA_UI) once
+ // codereview.chromium.org/1459793002 landed.
+#if !defined(OS_ANDROID) || defined(USE_AURA)
// Browser creation happens on the Java side in Android.
scoped_ptr<StartupBrowserCreator> browser_creator_;
@@ -174,7 +177,7 @@ class ChromeBrowserMainParts : public content::BrowserMainParts {
// Android's first run is done in Java instead of native.
scoped_ptr<first_run::MasterPrefs> master_prefs_;
-#endif
+#endif // !defined(OS_ANDROID) || defined(USE_AURA)
Profile* profile_;
bool run_message_loop_;
ProcessSingleton::NotifyResult notify_result_;
« no previous file with comments | « no previous file | chrome/browser/chrome_browser_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698