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

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

Issue 1772233003: Flag for Background Loading of Offline Pages. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
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 1619 matching lines...) Expand 10 before | Expand all | Expand 10 after
1630 switches::kEnableBenchmarking, 1630 switches::kEnableBenchmarking,
1631 switches::kEnableNaCl, 1631 switches::kEnableNaCl,
1632 #if !defined(DISABLE_NACL) 1632 #if !defined(DISABLE_NACL)
1633 switches::kEnableNaClDebug, 1633 switches::kEnableNaClDebug,
1634 switches::kEnableNaClNonSfiMode, 1634 switches::kEnableNaClNonSfiMode,
1635 #endif 1635 #endif
1636 switches::kEnableNetBenchmarking, 1636 switches::kEnableNetBenchmarking,
1637 switches::kEnableNewBookmarkApps, 1637 switches::kEnableNewBookmarkApps,
1638 #if defined(OS_ANDROID) 1638 #if defined(OS_ANDROID)
1639 switches::kEnableOfflinePagesAsBookmarks, 1639 switches::kEnableOfflinePagesAsBookmarks,
1640 switches::kEnableOfflinePagesBackgroundLoading,
fgorski 2016/03/09 18:00:04 what is this one for?
Pete Williamson 2016/03/09 20:36:32 This line adds our new switch to the list of switc
1640 #endif 1641 #endif
1641 #if !defined(DISABLE_NACL) 1642 #if !defined(DISABLE_NACL)
1642 switches::kForcePNaClSubzero, 1643 switches::kForcePNaClSubzero,
1643 #endif 1644 #endif
1644 switches::kJavaScriptHarmony, 1645 switches::kJavaScriptHarmony,
1645 switches::kMessageLoopHistogrammer, 1646 switches::kMessageLoopHistogrammer,
1646 switches::kPpapiFlashArgs, 1647 switches::kPpapiFlashArgs,
1647 switches::kPpapiFlashPath, 1648 switches::kPpapiFlashPath,
1648 switches::kPpapiFlashVersion, 1649 switches::kPpapiFlashVersion,
1649 switches::kProfilingAtStart, 1650 switches::kProfilingAtStart,
(...skipping 1293 matching lines...) Expand 10 before | Expand all | Expand 10 after
2943 if (channel <= kMaxDisableEncryptionChannel) { 2944 if (channel <= kMaxDisableEncryptionChannel) {
2944 static const char* const kWebRtcDevSwitchNames[] = { 2945 static const char* const kWebRtcDevSwitchNames[] = {
2945 switches::kDisableWebRtcEncryption, 2946 switches::kDisableWebRtcEncryption,
2946 }; 2947 };
2947 to_command_line->CopySwitchesFrom(from_command_line, 2948 to_command_line->CopySwitchesFrom(from_command_line,
2948 kWebRtcDevSwitchNames, 2949 kWebRtcDevSwitchNames,
2949 arraysize(kWebRtcDevSwitchNames)); 2950 arraysize(kWebRtcDevSwitchNames));
2950 } 2951 }
2951 } 2952 }
2952 #endif // defined(ENABLE_WEBRTC) 2953 #endif // defined(ENABLE_WEBRTC)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698