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

Issue 10885023: Use ChromeBrowserMainPartsAndroid. (Closed)

Created:
8 years, 3 months ago by Yaron
Modified:
8 years, 3 months ago
CC:
chromium-reviews, rginda+watch_chromium.org, Torne, David Trainor- moved to gerrit
Visibility:
Public.

Description

Use ChromeBrowserMainPartsAndroid. Includes several changes: 1) Stubs out jankometer 2) Makes some background-related profile code guarded by ENABLE_BACKGROUND 3) Remove SingletonProcess because it's guaranteed by the OS. 4) If-def out first-run code and process startup code as it's necessary handled in the Java layer on Android. In order to improve startup performance, Chrome for Android runs startup code in the java layer asynchronously with loading the native shared library. Re-using this code would result in us blocking until the entire library is loaded into memory. 5) Removes UMA code. UMA sessions are handled differently on Android as the browser isn't ever killed and is instead paused/resumed. 6) Also removes things like ManagedMode/PageCycler which are unused on Android. BUG=138184 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=154029

Patch Set 1 #

Patch Set 2 : #

Total comments: 8

Patch Set 3 : thestig's comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -11 lines) Patch
M chrome/browser/browser_process_impl.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/browser_process_impl.cc View 1 2 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/chrome_browser_main.h View 1 2 2 chunks +9 lines, -1 line 0 comments Download
M chrome/browser/chrome_browser_main.cc View 1 2 17 chunks +41 lines, -2 lines 0 comments Download
M chrome/browser/chrome_content_browser_client.cc View 1 2 chunks +3 lines, -4 lines 0 comments Download
A + chrome/browser/jankometer_android.cc View 1 chunk +3 lines, -4 lines 0 comments Download
M chrome/browser/profiles/profile_manager.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/chrome.gyp View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Yaron
erg: chrome/browser/profiles thestig: the rest So this does include a bunch of if-defs... I'm really ...
8 years, 3 months ago (2012-08-29 01:57:27 UTC) #1
Elliot Glaysher
trivial one statement addition in profiles/ lgtm
8 years, 3 months ago (2012-08-29 17:06:25 UTC) #2
Lei Zhang
http://codereview.chromium.org/10885023/diff/1009/chrome/browser/browser_process_impl.cc File chrome/browser/browser_process_impl.cc (right): http://codereview.chromium.org/10885023/diff/1009/chrome/browser/browser_process_impl.cc#newcode483 chrome/browser/browser_process_impl.cc:483: if (!remote_debugging_server_.get()) { Since |remote_debugging_server_| isn't used anywhere else, ...
8 years, 3 months ago (2012-08-29 19:23:57 UTC) #3
Yaron
comments addressed, includes a rebase although only affects gyp. Sorry, though. Lei: ptal http://codereview.chromium.org/10885023/diff/1009/chrome/browser/browser_process_impl.cc File ...
8 years, 3 months ago (2012-08-29 20:48:33 UTC) #4
Lei Zhang
lgtm
8 years, 3 months ago (2012-08-29 20:53:35 UTC) #5
commit-bot: I haz the power
8 years, 3 months ago (2012-08-29 22:43:11 UTC) #6

Powered by Google App Engine
This is Rietveld 408576698