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 118328: chrome.exe --package-extension (Closed)
Patch Set: final Created 11 years, 6 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
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/common/extensions/extension.h » ('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) 2006-2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2009 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 8
9 namespace switches { 9 namespace switches {
10 10
(...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after
386 // Enable extensions. 386 // Enable extensions.
387 const wchar_t kEnableExtensions[] = L"enable-extensions"; 387 const wchar_t kEnableExtensions[] = L"enable-extensions";
388 388
389 // Install the extension specified in the argument. This is for MIME type 389 // Install the extension specified in the argument. This is for MIME type
390 // handling so that users can double-click on an extension. 390 // handling so that users can double-click on an extension.
391 const wchar_t kInstallExtension[] = L"install-extension"; 391 const wchar_t kInstallExtension[] = L"install-extension";
392 392
393 // Load an extension from the specified directory. 393 // Load an extension from the specified directory.
394 const wchar_t kLoadExtension[] = L"load-extension"; 394 const wchar_t kLoadExtension[] = L"load-extension";
395 395
396 // Package an extension to a .crx installable file from a given directory.
397 const wchar_t kPackExtension[] = L"pack-extension";
398
399 // Optional PEM private key is to use in signing packaged .crx.
400 const wchar_t kPackExtensionKey[] = L"pack-extension-key";
401
396 // Load an NPAPI plugin from the specified path. 402 // Load an NPAPI plugin from the specified path.
397 const wchar_t kLoadPlugin[] = L"load-plugin"; 403 const wchar_t kLoadPlugin[] = L"load-plugin";
398 404
399 // directory to locate user scripts in as an over-ride of the default 405 // directory to locate user scripts in as an over-ride of the default
400 const wchar_t kUserScriptsDir[] = L"user-scripts-dir"; 406 const wchar_t kUserScriptsDir[] = L"user-scripts-dir";
401 407
402 // Causes the browser to launch directly in incognito mode. 408 // Causes the browser to launch directly in incognito mode.
403 const wchar_t kIncognito[] = L"incognito"; 409 const wchar_t kIncognito[] = L"incognito";
404 410
405 // Turns on the accessibility in the renderer. Off by default until 411 // Turns on the accessibility in the renderer. Off by default until
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
478 const wchar_t kNewNewTabPage[] = L"new-new-tab-page"; 484 const wchar_t kNewNewTabPage[] = L"new-new-tab-page";
479 485
480 // Disables the default browser check. Useful for UI/browser tests where we want 486 // Disables the default browser check. Useful for UI/browser tests where we want
481 // to avoid having the default browser info-bar displayed. 487 // to avoid having the default browser info-bar displayed.
482 const wchar_t kNoDefaultBrowserCheck[] = L"no-default-browser-check"; 488 const wchar_t kNoDefaultBrowserCheck[] = L"no-default-browser-check";
483 489
484 // Enables the benchmarking extensions. 490 // Enables the benchmarking extensions.
485 const wchar_t kEnableBenchmarking[] = L"enable-benchmarking"; 491 const wchar_t kEnableBenchmarking[] = L"enable-benchmarking";
486 492
487 } // namespace switches 493 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/common/extensions/extension.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698