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

Side by Side Diff: content/public/common/content_switches.cc

Issue 12886022: Implement offline mode behind a flag (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Setup OfflinePolicy for all started requests. Created 7 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « content/public/common/content_switches.h ('k') | net/http/http_cache_transaction.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 "content/public/common/content_switches.h" 5 #include "content/public/common/content_switches.h"
6 6
7 namespace switches { 7 namespace switches {
8 8
9 // By default, file:// URIs cannot read other file:// URIs. This is an 9 // By default, file:// URIs cannot read other file:// URIs. This is an
10 // override for developers who need the old behavior for testing. 10 // override for developers who need the old behavior for testing.
(...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after
332 332
333 // On Windows, converts the page to the currently-installed monitor profile. 333 // On Windows, converts the page to the currently-installed monitor profile.
334 // This does NOT enable color management for images. The source is still 334 // This does NOT enable color management for images. The source is still
335 // assumed to be sRGB. 335 // assumed to be sRGB.
336 const char kEnableMonitorProfile[] = "enable-monitor-profile"; 336 const char kEnableMonitorProfile[] = "enable-monitor-profile";
337 337
338 // Enables compositor-accelerated touch-screen pinch gestures. 338 // Enables compositor-accelerated touch-screen pinch gestures.
339 const char kEnablePinch[] = "enable-pinch"; 339 const char kEnablePinch[] = "enable-pinch";
340 const char kDisablePinch[] = "disable-pinch"; 340 const char kDisablePinch[] = "disable-pinch";
341 341
342 // Enables use of cache if offline, even if it's stale
343 const char kEnableOfflineCacheAccess[] = "enable-offline-cache-access";
344
342 // Enable caching of pre-parsed JS script data. See http://crbug.com/32407. 345 // Enable caching of pre-parsed JS script data. See http://crbug.com/32407.
343 const char kEnablePreparsedJsCaching[] = "enable-preparsed-js-caching"; 346 const char kEnablePreparsedJsCaching[] = "enable-preparsed-js-caching";
344 347
345 // Enable privileged WebGL extensions; without this switch such extensions are 348 // Enable privileged WebGL extensions; without this switch such extensions are
346 // available only to Chrome extensions. 349 // available only to Chrome extensions.
347 const char kEnablePrivilegedWebGLExtensions[] = 350 const char kEnablePrivilegedWebGLExtensions[] =
348 "enable-privileged-webgl-extensions"; 351 "enable-privileged-webgl-extensions";
349 352
350 // Aggressively free GPU command buffers belonging to hidden tabs. 353 // Aggressively free GPU command buffers belonging to hidden tabs.
351 const char kEnablePruneGpuCommandBuffers[] = 354 const char kEnablePruneGpuCommandBuffers[] =
(...skipping 425 matching lines...) Expand 10 before | Expand all | Expand 10 after
777 const char kEnableVsyncNotification[] = "enable-vsync-notification"; 780 const char kEnableVsyncNotification[] = "enable-vsync-notification";
778 781
779 // Enables history navigation in response to horizontal overscroll. 782 // Enables history navigation in response to horizontal overscroll.
780 const char kEnableOverscrollHistoryNavigation[] = 783 const char kEnableOverscrollHistoryNavigation[] =
781 "enable-overscroll-history-navigation"; 784 "enable-overscroll-history-navigation";
782 785
783 // Enables 'image/webp' accept header for image requests. 786 // Enables 'image/webp' accept header for image requests.
784 const char kEnableWebPInAcceptHeader[] = "enable-webp-in-accept-header"; 787 const char kEnableWebPInAcceptHeader[] = "enable-webp-in-accept-header";
785 788
786 } // namespace switches 789 } // namespace switches
OLDNEW
« no previous file with comments | « content/public/common/content_switches.h ('k') | net/http/http_cache_transaction.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698