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

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

Powered by Google App Engine
This is Rietveld 408576698