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

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: Addressed comments from mmenke 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 1273 matching lines...) Expand 10 before | Expand all | Expand 10 after
1284 1284
1285 // Simulates that current version is outdated. 1285 // Simulates that current version is outdated.
1286 const char kSimulateOutdated[] = "simulate-outdated"; 1286 const char kSimulateOutdated[] = "simulate-outdated";
1287 1287
1288 // Replaces the buffered data source for <audio> and <video> with a simplified 1288 // Replaces the buffered data source for <audio> and <video> with a simplified
1289 // resource loader that downloads the entire resource into memory. 1289 // resource loader that downloads the entire resource into memory.
1290 1290
1291 // Origin for which SpdyProxy authentication is supported. 1291 // Origin for which SpdyProxy authentication is supported.
1292 const char kSpdyProxyAuthOrigin[] = "spdy-proxy-auth-origin"; 1292 const char kSpdyProxyAuthOrigin[] = "spdy-proxy-auth-origin";
1293 1293
1294 // Authentication string for the data reduction proxy.
1295 const char kSpdyProxyAuthValue[] = "spdy-proxy-auth-value";
1296
1294 // Speculative resource prefetching. 1297 // Speculative resource prefetching.
1295 const char kSpeculativeResourcePrefetching[] = 1298 const char kSpeculativeResourcePrefetching[] =
1296 "speculative-resource-prefetching"; 1299 "speculative-resource-prefetching";
1297 1300
1298 // Speculative resource prefetching is disabled. 1301 // Speculative resource prefetching is disabled.
1299 const char kSpeculativeResourcePrefetchingDisabled[] = "disabled"; 1302 const char kSpeculativeResourcePrefetchingDisabled[] = "disabled";
1300 1303
1301 // Speculative resource prefetching will only learn about resources that need to 1304 // Speculative resource prefetching will only learn about resources that need to
1302 // be prefetched but will not prefetch them. 1305 // be prefetched but will not prefetch them.
1303 const char kSpeculativeResourcePrefetchingLearning[] = "learning"; 1306 const char kSpeculativeResourcePrefetchingLearning[] = "learning";
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after
1600 1603
1601 // ----------------------------------------------------------------------------- 1604 // -----------------------------------------------------------------------------
1602 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1605 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1603 // 1606 //
1604 // You were going to just dump your switches here, weren't you? Instead, please 1607 // You were going to just dump your switches here, weren't you? Instead, please
1605 // put them in alphabetical order above, or in order inside the appropriate 1608 // put them in alphabetical order above, or in order inside the appropriate
1606 // ifdef at the bottom. The order should match the header. 1609 // ifdef at the bottom. The order should match the header.
1607 // ----------------------------------------------------------------------------- 1610 // -----------------------------------------------------------------------------
1608 1611
1609 } // namespace switches 1612 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698