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

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

Powered by Google App Engine
This is Rietveld 408576698