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

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

Issue 10069014: Save Page As MHTML (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nonconst nonref params Created 8 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
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 1058 matching lines...) Expand 10 before | Expand all | Expand 10 after
1069 // Enables print preview in the renderer. This flag is generated internally by 1069 // Enables print preview in the renderer. This flag is generated internally by
1070 // Chrome and does nothing when directly passed to the browser. 1070 // Chrome and does nothing when directly passed to the browser.
1071 const char kRendererPrintPreview[] = "renderer-print-preview"; 1071 const char kRendererPrintPreview[] = "renderer-print-preview";
1072 1072
1073 // Indicates the last session should be restored on startup. This overrides the 1073 // Indicates the last session should be restored on startup. This overrides the
1074 // preferences value and is primarily intended for testing. The value of this 1074 // preferences value and is primarily intended for testing. The value of this
1075 // switch is the number of tabs to wait until loaded before 'load completed' is 1075 // switch is the number of tabs to wait until loaded before 'load completed' is
1076 // sent to the ui_test. 1076 // sent to the ui_test.
1077 const char kRestoreLastSession[] = "restore-last-session"; 1077 const char kRestoreLastSession[] = "restore-last-session";
1078 1078
1079 // Disable saving pages as HTML-only, disable saving pages as HTML Complete
1080 // (with a directory of sub-resources). Enable only saving pages as MHTML.
1081 // TODO(benjhayden): Remove this switch/flag when SavePackageFilePicker and all
1082 // platform-specific file pickers support switching save-as filetypes.
1083 const char kSavePageAsMHTML[] = "save-page-as-mhtml";
1084
1079 // URL prefix used by safebrowsing to fetch hash, download data and report 1085 // URL prefix used by safebrowsing to fetch hash, download data and report
1080 // malware. 1086 // malware.
1081 const char kSbURLPrefix[] = "safebrowsing-url-prefix"; 1087 const char kSbURLPrefix[] = "safebrowsing-url-prefix";
1082 1088
1083 // If present, safebrowsing only performs update when 1089 // If present, safebrowsing only performs update when
1084 // SafeBrowsingProtocolManager::ForceScheduleNextUpdate() is explicitly called. 1090 // SafeBrowsingProtocolManager::ForceScheduleNextUpdate() is explicitly called.
1085 // This is used for testing only. 1091 // This is used for testing only.
1086 const char kSbDisableAutoUpdate[] = "safebrowsing-disable-auto-update"; 1092 const char kSbDisableAutoUpdate[] = "safebrowsing-disable-auto-update";
1087 1093
1088 // TODO(lzheng): Remove this flag once the feature works fine 1094 // TODO(lzheng): Remove this flag once the feature works fine
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after
1409 1415
1410 // ----------------------------------------------------------------------------- 1416 // -----------------------------------------------------------------------------
1411 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1417 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1412 // 1418 //
1413 // You were going to just dump your switches here, weren't you? Instead, please 1419 // You were going to just dump your switches here, weren't you? Instead, please
1414 // put them in alphabetical order above, or in order inside the appropriate 1420 // put them in alphabetical order above, or in order inside the appropriate
1415 // ifdef at the bottom. The order should match the header. 1421 // ifdef at the bottom. The order should match the header.
1416 // ----------------------------------------------------------------------------- 1422 // -----------------------------------------------------------------------------
1417 1423
1418 } // namespace switches 1424 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698