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

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

Issue 1972503002: Add flag "distillability-dev" for distillability development Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix tests Created 4 years, 7 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
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 <map> 7 #include <map>
8 #include <set> 8 #include <set>
9 #include <utility> 9 #include <utility>
10 #include <vector> 10 #include <vector>
(...skipping 1639 matching lines...) Expand 10 before | Expand all | Expand 10 after
1650 switches::kJavaScriptHarmony, 1650 switches::kJavaScriptHarmony,
1651 switches::kMessageLoopHistogrammer, 1651 switches::kMessageLoopHistogrammer,
1652 switches::kOriginTrialPublicKey, 1652 switches::kOriginTrialPublicKey,
1653 switches::kPpapiFlashArgs, 1653 switches::kPpapiFlashArgs,
1654 switches::kPpapiFlashPath, 1654 switches::kPpapiFlashPath,
1655 switches::kPpapiFlashVersion, 1655 switches::kPpapiFlashVersion,
1656 switches::kProfilingAtStart, 1656 switches::kProfilingAtStart,
1657 switches::kProfilingFile, 1657 switches::kProfilingFile,
1658 switches::kProfilingFlush, 1658 switches::kProfilingFlush,
1659 switches::kReaderModeHeuristics, 1659 switches::kReaderModeHeuristics,
1660 switches::kDistillabilityDev,
1660 switches::kUnsafelyTreatInsecureOriginAsSecure, 1661 switches::kUnsafelyTreatInsecureOriginAsSecure,
1661 translate::switches::kTranslateSecurityOrigin, 1662 translate::switches::kTranslateSecurityOrigin,
1662 }; 1663 };
1663 1664
1664 command_line->CopySwitchesFrom(browser_command_line, kSwitchNames, 1665 command_line->CopySwitchesFrom(browser_command_line, kSwitchNames,
1665 arraysize(kSwitchNames)); 1666 arraysize(kSwitchNames));
1666 } else if (process_type == switches::kUtilityProcess) { 1667 } else if (process_type == switches::kUtilityProcess) {
1667 #if defined(ENABLE_EXTENSIONS) 1668 #if defined(ENABLE_EXTENSIONS)
1668 static const char* const kSwitchNames[] = { 1669 static const char* const kSwitchNames[] = {
1669 extensions::switches::kAllowHTTPBackgroundPage, 1670 extensions::switches::kAllowHTTPBackgroundPage,
(...skipping 1299 matching lines...) Expand 10 before | Expand all | Expand 10 after
2969 if (channel <= kMaxDisableEncryptionChannel) { 2970 if (channel <= kMaxDisableEncryptionChannel) {
2970 static const char* const kWebRtcDevSwitchNames[] = { 2971 static const char* const kWebRtcDevSwitchNames[] = {
2971 switches::kDisableWebRtcEncryption, 2972 switches::kDisableWebRtcEncryption,
2972 }; 2973 };
2973 to_command_line->CopySwitchesFrom(from_command_line, 2974 to_command_line->CopySwitchesFrom(from_command_line,
2974 kWebRtcDevSwitchNames, 2975 kWebRtcDevSwitchNames,
2975 arraysize(kWebRtcDevSwitchNames)); 2976 arraysize(kWebRtcDevSwitchNames));
2976 } 2977 }
2977 } 2978 }
2978 #endif // defined(ENABLE_WEBRTC) 2979 #endif // defined(ENABLE_WEBRTC)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698