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

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: compatible naming Created 4 years, 3 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 | components/dom_distiller/content/renderer/distillability_agent.cc » ('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 <map> 7 #include <map>
8 #include <set> 8 #include <set>
9 #include <utility> 9 #include <utility>
10 #include <vector> 10 #include <vector>
(...skipping 1590 matching lines...) Expand 10 before | Expand all | Expand 10 after
1601 switches::kMessageLoopHistogrammer, 1601 switches::kMessageLoopHistogrammer,
1602 switches::kOriginTrialDisabledFeatures, 1602 switches::kOriginTrialDisabledFeatures,
1603 switches::kOriginTrialPublicKey, 1603 switches::kOriginTrialPublicKey,
1604 switches::kPpapiFlashArgs, 1604 switches::kPpapiFlashArgs,
1605 switches::kPpapiFlashPath, 1605 switches::kPpapiFlashPath,
1606 switches::kPpapiFlashVersion, 1606 switches::kPpapiFlashVersion,
1607 switches::kProfilingAtStart, 1607 switches::kProfilingAtStart,
1608 switches::kProfilingFile, 1608 switches::kProfilingFile,
1609 switches::kProfilingFlush, 1609 switches::kProfilingFlush,
1610 switches::kReaderModeHeuristics, 1610 switches::kReaderModeHeuristics,
1611 switches::kDistillabilityDev,
1611 switches::kUnsafelyTreatInsecureOriginAsSecure, 1612 switches::kUnsafelyTreatInsecureOriginAsSecure,
1612 translate::switches::kTranslateSecurityOrigin, 1613 translate::switches::kTranslateSecurityOrigin,
1613 }; 1614 };
1614 1615
1615 command_line->CopySwitchesFrom(browser_command_line, kSwitchNames, 1616 command_line->CopySwitchesFrom(browser_command_line, kSwitchNames,
1616 arraysize(kSwitchNames)); 1617 arraysize(kSwitchNames));
1617 } else if (process_type == switches::kUtilityProcess) { 1618 } else if (process_type == switches::kUtilityProcess) {
1618 #if defined(ENABLE_EXTENSIONS) 1619 #if defined(ENABLE_EXTENSIONS)
1619 static const char* const kSwitchNames[] = { 1620 static const char* const kSwitchNames[] = {
1620 extensions::switches::kAllowHTTPBackgroundPage, 1621 extensions::switches::kAllowHTTPBackgroundPage,
(...skipping 1349 matching lines...) Expand 10 before | Expand all | Expand 10 after
2970 if (channel <= kMaxDisableEncryptionChannel) { 2971 if (channel <= kMaxDisableEncryptionChannel) {
2971 static const char* const kWebRtcDevSwitchNames[] = { 2972 static const char* const kWebRtcDevSwitchNames[] = {
2972 switches::kDisableWebRtcEncryption, 2973 switches::kDisableWebRtcEncryption,
2973 }; 2974 };
2974 to_command_line->CopySwitchesFrom(from_command_line, 2975 to_command_line->CopySwitchesFrom(from_command_line,
2975 kWebRtcDevSwitchNames, 2976 kWebRtcDevSwitchNames,
2976 arraysize(kWebRtcDevSwitchNames)); 2977 arraysize(kWebRtcDevSwitchNames));
2977 } 2978 }
2978 } 2979 }
2979 #endif // defined(ENABLE_WEBRTC) 2980 #endif // defined(ENABLE_WEBRTC)
OLDNEW
« no previous file with comments | « no previous file | components/dom_distiller/content/renderer/distillability_agent.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698