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

Side by Side Diff: chrome/common/chrome_switches.cc

Issue 23458016: Added probe to determine if data reduction proxy can be used (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added more unit tests Created 7 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
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/common/chrome_switches.h" 5 #include "chrome/common/chrome_switches.h"
6 6
7 #include "base/base_switches.h" 7 #include "base/base_switches.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 9
10 namespace switches { 10 namespace switches {
(...skipping 1282 matching lines...) Expand 10 before | Expand all | Expand 10 after
1293 1293
1294 // Simulates that current version is outdated. 1294 // Simulates that current version is outdated.
1295 const char kSimulateOutdated[] = "simulate-outdated"; 1295 const char kSimulateOutdated[] = "simulate-outdated";
1296 1296
1297 // Replaces the buffered data source for <audio> and <video> with a simplified 1297 // Replaces the buffered data source for <audio> and <video> with a simplified
1298 // resource loader that downloads the entire resource into memory. 1298 // resource loader that downloads the entire resource into memory.
1299 1299
1300 // Origin for which SpdyProxy authentication is supported. 1300 // Origin for which SpdyProxy authentication is supported.
1301 const char kSpdyProxyAuthOrigin[] = "spdy-proxy-auth-origin"; 1301 const char kSpdyProxyAuthOrigin[] = "spdy-proxy-auth-origin";
1302 1302
1303 // Authentication string for the data reduction proxy.
1304 const char kSpdyProxyAuthValue[] = "spdy-proxy-auth-value";
1305
1303 // Speculative resource prefetching. 1306 // Speculative resource prefetching.
1304 const char kSpeculativeResourcePrefetching[] = 1307 const char kSpeculativeResourcePrefetching[] =
1305 "speculative-resource-prefetching"; 1308 "speculative-resource-prefetching";
1306 1309
1307 // Speculative resource prefetching is disabled. 1310 // Speculative resource prefetching is disabled.
1308 const char kSpeculativeResourcePrefetchingDisabled[] = "disabled"; 1311 const char kSpeculativeResourcePrefetchingDisabled[] = "disabled";
1309 1312
1310 // Speculative resource prefetching will only learn about resources that need to 1313 // Speculative resource prefetching will only learn about resources that need to
1311 // be prefetched but will not prefetch them. 1314 // be prefetched but will not prefetch them.
1312 const char kSpeculativeResourcePrefetchingLearning[] = "learning"; 1315 const char kSpeculativeResourcePrefetchingLearning[] = "learning";
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after
1611 1614
1612 // ----------------------------------------------------------------------------- 1615 // -----------------------------------------------------------------------------
1613 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1616 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1614 // 1617 //
1615 // You were going to just dump your switches here, weren't you? Instead, please 1618 // You were going to just dump your switches here, weren't you? Instead, please
1616 // put them in alphabetical order above, or in order inside the appropriate 1619 // put them in alphabetical order above, or in order inside the appropriate
1617 // ifdef at the bottom. The order should match the header. 1620 // ifdef at the bottom. The order should match the header.
1618 // ----------------------------------------------------------------------------- 1621 // -----------------------------------------------------------------------------
1619 1622
1620 } // namespace switches 1623 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698