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

Issue 10444121: Added android_browser_process. (Closed)

Created:
8 years, 6 months ago by michaelbai
Modified:
8 years, 6 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jochen+watch-content_chromium.org
Visibility:
Public.

Description

As part of the content_shell bring up, some un-upstreamed features have been disabled in browser process main related c++ and Java file. The disabled features are guarded by !defined(ANDROID_UPSTREAM_BRINGUP). For Java file, the code was removed. Fixed the dependency. - Moved the content_jni_registrar.{h|cc} and library_loader_hooks.cc content/app/android/ - Moved the android_library_loader_hooks.h to content/public/app/ BUG= TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=140386

Patch Set 1 : Init #

Total comments: 7

Patch Set 2 : Addressed comments #

Total comments: 10

Patch Set 3 : Addressed comments #

Patch Set 4 : Move android_browser_process to browser directory. #

Patch Set 5 : sync #

Unified diffs Side-by-side diffs Delta from patch set Stats (+329 lines, -31 lines) Patch
M content/app/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M content/app/android/content_jni_registrar.cc View 1 2 3 4 2 chunks +4 lines, -0 lines 0 comments Download
A + content/app/android/content_main.h View 1 2 3 4 1 chunk +6 lines, -4 lines 0 comments Download
A content/app/android/content_main.cc View 1 2 3 4 1 chunk +76 lines, -0 lines 0 comments Download
A content/browser/android/android_browser_process.h View 1 2 3 1 chunk +17 lines, -0 lines 0 comments Download
A content/browser/android/android_browser_process.cc View 1 2 3 4 1 chunk +43 lines, -0 lines 0 comments Download
M content/content_app.gypi View 1 2 3 2 chunks +13 lines, -0 lines 0 comments Download
M content/content_browser.gypi View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M content/content_jni.gypi View 1 2 3 2 chunks +4 lines, -0 lines 0 comments Download
A content/public/android/java/org/chromium/content/app/ContentMain.java View 1 1 chunk +36 lines, -0 lines 0 comments Download
A content/public/android/java/org/chromium/content/browser/AndroidBrowserProcess.java View 1 2 3 4 1 chunk +112 lines, -0 lines 0 comments Download
M content/public/android/java/org/chromium/content/browser/ContentView.java View 1 2 3 2 chunks +3 lines, -1 line 0 comments Download
M content/public/app/content_main.h View 1 2 3 4 1 chunk +8 lines, -1 line 0 comments Download
M content/shell/android/shell_library_loader.cc View 1 2 3 4 2 chunks +4 lines, -25 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
michaelbai
8 years, 6 months ago (2012-06-01 19:31:01 UTC) #1
Yaron
http://codereview.chromium.org/10444121/diff/2001/content/shell/android/shell_library_loader.cc File content/shell/android/shell_library_loader.cc (right): http://codereview.chromium.org/10444121/diff/2001/content/shell/android/shell_library_loader.cc#newcode10 content/shell/android/shell_library_loader.cc:10: #include "content/common/android/process_main.h" Does this have to in public because ...
8 years, 6 months ago (2012-06-01 20:20:37 UTC) #2
jam
(some initial comments) http://codereview.chromium.org/10444121/diff/2001/content/common/android/process_main.h File content/common/android/process_main.h (right): http://codereview.chromium.org/10444121/diff/2001/content/common/android/process_main.h#newcode15 content/common/android/process_main.h:15: extern content::ContentMainDelegate* g_content_main_delegate; we usually don't ...
8 years, 6 months ago (2012-06-01 22:04:54 UTC) #3
michaelbai
Thanks for the feedback. Removed process_main.{h|cc}, moved the logical to content/app/android/content_main.cc. PTAL http://codereview.chromium.org/10444121/diff/2001/content/common/android/process_main.h File content/common/android/process_main.h ...
8 years, 6 months ago (2012-06-01 23:27:19 UTC) #4
jam
http://codereview.chromium.org/10444121/diff/13001/content/app/android/browser_process_main.cc File content/app/android/browser_process_main.cc (right): http://codereview.chromium.org/10444121/diff/13001/content/app/android/browser_process_main.cc#newcode1 content/app/android/browser_process_main.cc:1: // Copyright (c) 2012 The Chromium Authors. All rights ...
8 years, 6 months ago (2012-06-01 23:40:00 UTC) #5
jam
http://codereview.chromium.org/10444121/diff/13001/content/app/android/browser_process_main.cc File content/app/android/browser_process_main.cc (right): http://codereview.chromium.org/10444121/diff/13001/content/app/android/browser_process_main.cc#newcode1 content/app/android/browser_process_main.cc:1: // Copyright (c) 2012 The Chromium Authors. All rights ...
8 years, 6 months ago (2012-06-01 23:40:51 UTC) #6
michaelbai
Hi John, In Android, the process is started from Java, and the different type of ...
8 years, 6 months ago (2012-06-04 17:39:36 UTC) #7
jam
On 2012/06/04 17:39:36, michaelbai wrote: > Hi John, > > In Android, the process is ...
8 years, 6 months ago (2012-06-04 17:53:27 UTC) #8
michaelbai
Because it needs to call ContentMainRunner, this is the previous CL which cann't be submitted ...
8 years, 6 months ago (2012-06-04 18:10:50 UTC) #9
michaelbai
Hi John, As our discussion, I moved android_browser_process to content/browser. PTAL
8 years, 6 months ago (2012-06-04 19:04:18 UTC) #10
jam
lgtm http://codereview.chromium.org/10444121/diff/13001/content/public/app/content_main.h File content/public/app/content_main.h (right): http://codereview.chromium.org/10444121/diff/13001/content/public/app/content_main.h#newcode47 content/public/app/content_main.h:47: void InitContentMainDelegate(ContentMainDelegate* delegate); Init sounds like this function ...
8 years, 6 months ago (2012-06-04 19:26:43 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/michaelbai@chromium.org/10444121/36001
8 years, 6 months ago (2012-06-04 20:58:27 UTC) #12
commit-bot: I haz the power
8 years, 6 months ago (2012-06-04 21:48:18 UTC) #13
Change committed as 140386

Powered by Google App Engine
This is Rietveld 408576698