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

Side by Side Diff: chrome/browser/chrome_content_browser_client.cc

Issue 12316144: Merge 183832 (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1410/src/
Patch Set: Created 7 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 | « chrome/browser/about_flags.cc ('k') | chrome/browser/io_thread.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 "chrome/browser/chrome_content_browser_client.h" 5 #include "chrome/browser/chrome_content_browser_client.h"
6 6
7 #include <set> 7 #include <set>
8 #include <utility> 8 #include <utility>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 1145 matching lines...) Expand 10 before | Expand all | Expand 10 after
1156 switches::kPlaybackMode, 1156 switches::kPlaybackMode,
1157 switches::kPpapiFlashArgs, 1157 switches::kPpapiFlashArgs,
1158 switches::kPpapiFlashInProcess, 1158 switches::kPpapiFlashInProcess,
1159 switches::kPpapiFlashPath, 1159 switches::kPpapiFlashPath,
1160 switches::kPpapiFlashVersion, 1160 switches::kPpapiFlashVersion,
1161 switches::kProfilingAtStart, 1161 switches::kProfilingAtStart,
1162 switches::kProfilingFile, 1162 switches::kProfilingFile,
1163 switches::kProfilingFlush, 1163 switches::kProfilingFlush,
1164 switches::kRecordMode, 1164 switches::kRecordMode,
1165 switches::kSilentDumpOnDCHECK, 1165 switches::kSilentDumpOnDCHECK,
1166 switches::kSpdyProxyOrigin, 1166 switches::kSpdyProxyAuthOrigin,
1167 switches::kWhitelistedExtensionID, 1167 switches::kWhitelistedExtensionID,
1168 }; 1168 };
1169 1169
1170 command_line->CopySwitchesFrom(browser_command_line, kSwitchNames, 1170 command_line->CopySwitchesFrom(browser_command_line, kSwitchNames,
1171 arraysize(kSwitchNames)); 1171 arraysize(kSwitchNames));
1172 } else if (process_type == switches::kUtilityProcess) { 1172 } else if (process_type == switches::kUtilityProcess) {
1173 static const char* const kSwitchNames[] = { 1173 static const char* const kSwitchNames[] = {
1174 switches::kAllowHTTPBackgroundPage, 1174 switches::kAllowHTTPBackgroundPage,
1175 switches::kEnableExperimentalExtensionApis, 1175 switches::kEnableExperimentalExtensionApis,
1176 switches::kWhitelistedExtensionID, 1176 switches::kWhitelistedExtensionID,
(...skipping 912 matching lines...) Expand 10 before | Expand all | Expand 10 after
2089 io_thread_application_locale_ = locale; 2089 io_thread_application_locale_ = locale;
2090 } 2090 }
2091 2091
2092 void ChromeContentBrowserClient::SetApplicationLocaleOnIOThread( 2092 void ChromeContentBrowserClient::SetApplicationLocaleOnIOThread(
2093 const std::string& locale) { 2093 const std::string& locale) {
2094 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); 2094 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
2095 io_thread_application_locale_ = locale; 2095 io_thread_application_locale_ = locale;
2096 } 2096 }
2097 2097
2098 } // namespace chrome 2098 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | chrome/browser/io_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698