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

Side by Side Diff: content/browser/browser_child_process_host_impl_android.cc

Issue 11066087: Upstream BrowserChildProcessHostImpl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed unused local variable Created 8 years, 2 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "content/browser/browser_child_process_host_impl.h"
6
7 #include "base/command_line.h"
8 #include "content/public/common/content_switches.h"
9
10 // static
11 void BrowserChildProcessHostImpl::AppendCommonChildCommandLine(
12 CommandLine* cmd_line) {
13 // The child process needs some essential information very early during its
14 // life. We pass these as arguments
15
16 if (CommandLine::ForCurrentProcess()->HasSwitch(
17 switches::kUseMobileUserAgent)) {
18 cmd_line->AppendSwitch(switches::kUseMobileUserAgent);
jam 2012/10/11 02:09:14 does this need to be passed to all subprocess type
19 }
20 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698