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

Side by Side Diff: android_webview/browser/aw_content_browser_client.cc

Issue 196413016: Move CommandLine to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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
« no previous file with comments | « android_webview/browser/aw_content_browser_client.h ('k') | apps/app_load_service.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "android_webview/browser/aw_content_browser_client.h" 5 #include "android_webview/browser/aw_content_browser_client.h"
6 6
7 #include "android_webview/browser/aw_browser_context.h" 7 #include "android_webview/browser/aw_browser_context.h"
8 #include "android_webview/browser/aw_browser_main_parts.h" 8 #include "android_webview/browser/aw_browser_main_parts.h"
9 #include "android_webview/browser/aw_contents_client_bridge_base.h" 9 #include "android_webview/browser/aw_contents_client_bridge_base.h"
10 #include "android_webview/browser/aw_contents_io_thread_client.h" 10 #include "android_webview/browser/aw_contents_io_thread_client.h"
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 return browser_context_->CreateRequestContextForStoragePartition( 230 return browser_context_->CreateRequestContextForStoragePartition(
231 partition_path, in_memory, protocol_handlers); 231 partition_path, in_memory, protocol_handlers);
232 } 232 }
233 233
234 std::string AwContentBrowserClient::GetCanonicalEncodingNameByAliasName( 234 std::string AwContentBrowserClient::GetCanonicalEncodingNameByAliasName(
235 const std::string& alias_name) { 235 const std::string& alias_name) {
236 return alias_name; 236 return alias_name;
237 } 237 }
238 238
239 void AwContentBrowserClient::AppendExtraCommandLineSwitches( 239 void AwContentBrowserClient::AppendExtraCommandLineSwitches(
240 CommandLine* command_line, 240 base::CommandLine* command_line,
241 int child_process_id) { 241 int child_process_id) {
242 NOTREACHED() << "Android WebView does not support multi-process yet"; 242 NOTREACHED() << "Android WebView does not support multi-process yet";
243 } 243 }
244 244
245 std::string AwContentBrowserClient::GetApplicationLocale() { 245 std::string AwContentBrowserClient::GetApplicationLocale() {
246 return l10n_util::GetDefaultLocale(); 246 return l10n_util::GetDefaultLocale();
247 } 247 }
248 248
249 std::string AwContentBrowserClient::GetAcceptLangs( 249 std::string AwContentBrowserClient::GetAcceptLangs(
250 content::BrowserContext* context) { 250 content::BrowserContext* context) {
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
495 WebPreferences* web_prefs) { 495 WebPreferences* web_prefs) {
496 if (!preferences_populater_.get()) { 496 if (!preferences_populater_.get()) {
497 preferences_populater_ = make_scoped_ptr(native_factory_-> 497 preferences_populater_ = make_scoped_ptr(native_factory_->
498 CreateWebPreferencesPopulater()); 498 CreateWebPreferencesPopulater());
499 } 499 }
500 preferences_populater_->PopulateFor( 500 preferences_populater_->PopulateFor(
501 content::WebContents::FromRenderViewHost(rvh), web_prefs); 501 content::WebContents::FromRenderViewHost(rvh), web_prefs);
502 } 502 }
503 503
504 } // namespace android_webview 504 } // namespace android_webview
OLDNEW
« no previous file with comments | « android_webview/browser/aw_content_browser_client.h ('k') | apps/app_load_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698