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

Issue 11066087: Upstream BrowserChildProcessHostImpl (Closed)

Created:
8 years, 2 months ago by Yusuf
Modified:
8 years, 2 months ago
Reviewers:
Yaron, jam
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam
Visibility:
Public.

Description

Upstream BrowserChildProcessHostImpl This is also needed to make it possible for content_shell and test_shell to use mobile as user agent. Some methods and files had to be moved out of chrome to be able to use them in content_shell BUG=152807, 154122 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=161933

Patch Set 1 #

Total comments: 9

Patch Set 2 : Moved switch definition and added a method for appending the switch to DeviceUtils #

Patch Set 3 : Removed unused local variable #

Total comments: 2

Patch Set 4 : Removed file and the static method and added the call to render_process_host_impl.cc #

Total comments: 4

Patch Set 5 : Added the mobile user agent switch to switchNames #

Patch Set 6 : Rebased #

Patch Set 7 : Also moved the switch definition out of if-def in content_switches #

Patch Set 8 : Moved the definition in the header... #

Patch Set 9 : Added CONTENT_EXPORT to switch def #

Patch Set 10 : Rebased #

Messages

Total messages: 27 (0 generated)
Yusuf
yfriedman@ for */android jam@ for content
8 years, 2 months ago (2012-10-09 20:51:21 UTC) #1
Yaron
http://codereview.chromium.org/11066087/diff/1/content/browser/ppapi_plugin_process_host.cc File content/browser/ppapi_plugin_process_host.cc (right): http://codereview.chromium.org/11066087/diff/1/content/browser/ppapi_plugin_process_host.cc#newcode261 content/browser/ppapi_plugin_process_host.cc:261: base::EnvironmentVector env; I think we can just drop this. ...
8 years, 2 months ago (2012-10-09 21:38:52 UTC) #2
Yaron
http://codereview.chromium.org/11066087/diff/1/chrome/android/testshell/java/src/org/chromium/chrome/testshell/ChromiumTestShellActivity.java File chrome/android/testshell/java/src/org/chromium/chrome/testshell/ChromiumTestShellActivity.java (right): http://codereview.chromium.org/11066087/diff/1/chrome/android/testshell/java/src/org/chromium/chrome/testshell/ChromiumTestShellActivity.java#newcode41 chrome/android/testshell/java/src/org/chromium/chrome/testshell/ChromiumTestShellActivity.java:41: CommandLine.getInstance().appendSwitch(DeviceUtils.TABLET_UI); Is there no shared place in java where ...
8 years, 2 months ago (2012-10-09 21:40:18 UTC) #3
Yusuf
http://codereview.chromium.org/11066087/diff/1/chrome/android/testshell/java/src/org/chromium/chrome/testshell/ChromiumTestShellActivity.java File chrome/android/testshell/java/src/org/chromium/chrome/testshell/ChromiumTestShellActivity.java (right): http://codereview.chromium.org/11066087/diff/1/chrome/android/testshell/java/src/org/chromium/chrome/testshell/ChromiumTestShellActivity.java#newcode41 chrome/android/testshell/java/src/org/chromium/chrome/testshell/ChromiumTestShellActivity.java:41: CommandLine.getInstance().appendSwitch(DeviceUtils.TABLET_UI); On 2012/10/09 21:40:18, Yaron wrote: > Is there ...
8 years, 2 months ago (2012-10-09 21:46:32 UTC) #4
Yusuf
http://codereview.chromium.org/11066087/diff/1/chrome/android/testshell/java/src/org/chromium/chrome/testshell/ChromiumTestShellActivity.java File chrome/android/testshell/java/src/org/chromium/chrome/testshell/ChromiumTestShellActivity.java (right): http://codereview.chromium.org/11066087/diff/1/chrome/android/testshell/java/src/org/chromium/chrome/testshell/ChromiumTestShellActivity.java#newcode41 chrome/android/testshell/java/src/org/chromium/chrome/testshell/ChromiumTestShellActivity.java:41: CommandLine.getInstance().appendSwitch(DeviceUtils.TABLET_UI); Moved to DeviceUtils, calling from there for both ...
8 years, 2 months ago (2012-10-10 00:06:07 UTC) #5
Yusuf
jam@ friendly ping for taking a look at this. Thanks!
8 years, 2 months ago (2012-10-10 22:21:19 UTC) #6
jam
https://codereview.chromium.org/11066087/diff/14/content/browser/browser_child_process_host_impl_android.cc File content/browser/browser_child_process_host_impl_android.cc (right): https://codereview.chromium.org/11066087/diff/14/content/browser/browser_child_process_host_impl_android.cc#newcode18 content/browser/browser_child_process_host_impl_android.cc:18: cmd_line->AppendSwitch(switches::kUseMobileUserAgent); does this need to be passed to all ...
8 years, 2 months ago (2012-10-11 02:09:14 UTC) #7
Yusuf
It looks like it was only passed to renderer. I removed the call and added ...
8 years, 2 months ago (2012-10-11 18:40:29 UTC) #8
Yusuf
It looks like it was only passed to renderer. I removed the call and added ...
8 years, 2 months ago (2012-10-11 18:40:29 UTC) #9
jam
https://codereview.chromium.org/11066087/diff/7011/content/browser/renderer_host/render_process_host_impl.cc File content/browser/renderer_host/render_process_host_impl.cc (right): https://codereview.chromium.org/11066087/diff/7011/content/browser/renderer_host/render_process_host_impl.cc#newcode127 content/browser/renderer_host/render_process_host_impl.cc:127: #include "content/browser/browser_child_process_host_impl.h" not needed now https://codereview.chromium.org/11066087/diff/7011/content/browser/renderer_host/render_process_host_impl.cc#newcode514 content/browser/renderer_host/render_process_host_impl.cc:514: cmd_line->AppendSwitch(switches::kUseMobileUserAgent); put ...
8 years, 2 months ago (2012-10-11 19:38:17 UTC) #10
Yusuf
http://codereview.chromium.org/11066087/diff/7011/content/browser/renderer_host/render_process_host_impl.cc File content/browser/renderer_host/render_process_host_impl.cc (right): http://codereview.chromium.org/11066087/diff/7011/content/browser/renderer_host/render_process_host_impl.cc#newcode127 content/browser/renderer_host/render_process_host_impl.cc:127: #include "content/browser/browser_child_process_host_impl.h" On 2012/10/11 19:38:17, John Abd-El-Malek wrote: > ...
8 years, 2 months ago (2012-10-11 20:22:37 UTC) #11
Yaron
lgtm
8 years, 2 months ago (2012-10-11 21:21:28 UTC) #12
jam
lgtm
8 years, 2 months ago (2012-10-12 17:10:06 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yusufo@chromium.org/11066087/12001
8 years, 2 months ago (2012-10-12 17:18:00 UTC) #14
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build. Your ...
8 years, 2 months ago (2012-10-12 17:42:08 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yusufo@chromium.org/11066087/12001
8 years, 2 months ago (2012-10-12 17:58:13 UTC) #16
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build. Your ...
8 years, 2 months ago (2012-10-12 18:12:37 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yusufo@chromium.org/11066087/24003
8 years, 2 months ago (2012-10-12 18:45:27 UTC) #18
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build. Your ...
8 years, 2 months ago (2012-10-12 19:12:29 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yusufo@chromium.org/11066087/31001
8 years, 2 months ago (2012-10-12 21:07:56 UTC) #20
Yusuf
I just realized the switch definition which was upstreamed before was if-def'ed out. Moved it ...
8 years, 2 months ago (2012-10-12 21:09:39 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yusufo@chromium.org/11066087/41002
8 years, 2 months ago (2012-10-12 21:30:08 UTC) #22
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build. Your ...
8 years, 2 months ago (2012-10-12 21:55:52 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yusufo@chromium.org/11066087/43003
8 years, 2 months ago (2012-10-12 22:34:18 UTC) #24
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
8 years, 2 months ago (2012-10-13 02:51:57 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yusufo@chromium.org/11066087/34006
8 years, 2 months ago (2012-10-15 17:22:56 UTC) #26
commit-bot: I haz the power
8 years, 2 months ago (2012-10-15 20:06:26 UTC) #27
Change committed as 161933

Powered by Google App Engine
This is Rietveld 408576698