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

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

Issue 10985083: Upstreaming SpdyProxy-related switches, OTR logic, and histograms (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Alphabetized includes 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
« no previous file with comments | « no previous file | chrome/browser/profiles/off_the_record_profile_impl.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 904 matching lines...) Expand 10 before | Expand all | Expand 10 after
915 switches::kPlaybackMode, 915 switches::kPlaybackMode,
916 switches::kPpapiFlashArgs, 916 switches::kPpapiFlashArgs,
917 switches::kPpapiFlashInProcess, 917 switches::kPpapiFlashInProcess,
918 switches::kPpapiFlashPath, 918 switches::kPpapiFlashPath,
919 switches::kPpapiFlashVersion, 919 switches::kPpapiFlashVersion,
920 switches::kProfilingAtStart, 920 switches::kProfilingAtStart,
921 switches::kProfilingFile, 921 switches::kProfilingFile,
922 switches::kProfilingFlush, 922 switches::kProfilingFlush,
923 switches::kRecordMode, 923 switches::kRecordMode,
924 switches::kSilentDumpOnDCHECK, 924 switches::kSilentDumpOnDCHECK,
925 switches::kSpdyProxyOrigin,
925 switches::kWhitelistedExtensionID, 926 switches::kWhitelistedExtensionID,
926 }; 927 };
927 928
928 command_line->CopySwitchesFrom(browser_command_line, kSwitchNames, 929 command_line->CopySwitchesFrom(browser_command_line, kSwitchNames,
929 arraysize(kSwitchNames)); 930 arraysize(kSwitchNames));
930 } else if (process_type == switches::kUtilityProcess) { 931 } else if (process_type == switches::kUtilityProcess) {
931 static const char* const kSwitchNames[] = { 932 static const char* const kSwitchNames[] = {
932 switches::kAllowHTTPBackgroundPage, 933 switches::kAllowHTTPBackgroundPage,
933 switches::kEnableExperimentalExtensionApis, 934 switches::kEnableExperimentalExtensionApis,
934 switches::kWhitelistedExtensionID, 935 switches::kWhitelistedExtensionID,
(...skipping 863 matching lines...) Expand 10 before | Expand all | Expand 10 after
1798 partition_id = extension->id(); 1799 partition_id = extension->id();
1799 } 1800 }
1800 1801
1801 // Enforce that IsValidStoragePartitionId() implementation stays in sync. 1802 // Enforce that IsValidStoragePartitionId() implementation stays in sync.
1802 DCHECK(IsValidStoragePartitionId(browser_context, partition_id)); 1803 DCHECK(IsValidStoragePartitionId(browser_context, partition_id));
1803 return partition_id; 1804 return partition_id;
1804 } 1805 }
1805 1806
1806 1807
1807 } // namespace chrome 1808 } // namespace chrome
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/profiles/off_the_record_profile_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698