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

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

Issue 12660017: Add a commandline flag to chrome to validate crx files (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: added browser test Created 7 years, 9 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 1358 matching lines...) Expand 10 before | Expand all | Expand 10 after
1369 // Sets the maximum concurrent streams over a SPDY session. 1369 // Sets the maximum concurrent streams over a SPDY session.
1370 const char kMaxSpdyConcurrentStreams[] = "max-spdy-concurrent-streams"; 1370 const char kMaxSpdyConcurrentStreams[] = "max-spdy-concurrent-streams";
1371 1371
1372 // Specifies the user data directory, which is where the browser will look for 1372 // Specifies the user data directory, which is where the browser will look for
1373 // all of its state. 1373 // all of its state.
1374 const char kUserDataDir[] = "user-data-dir"; 1374 const char kUserDataDir[] = "user-data-dir";
1375 1375
1376 // Uses the ClientLogin signin flow instead of the web-based signin flow. 1376 // Uses the ClientLogin signin flow instead of the web-based signin flow.
1377 const char kUseClientLoginSigninFlow[] = "use-client-login-signin-flow"; 1377 const char kUseClientLoginSigninFlow[] = "use-client-login-signin-flow";
1378 1378
1379 // Examines a .crx for validity and prints the result.
1380 const char kValidateCrx[] = "validate-crx";
1381
1379 // Uses experimental simple cache backend if possible. 1382 // Uses experimental simple cache backend if possible.
1380 const char kUseSimpleCacheBackend[] = "use-simple-cache-backend"; 1383 const char kUseSimpleCacheBackend[] = "use-simple-cache-backend";
1381 1384
1382 // Specifies a custom URL for the server which reports variation data to the 1385 // Specifies a custom URL for the server which reports variation data to the
1383 // client. Specifying this switch enables the Variations service on 1386 // client. Specifying this switch enables the Variations service on
1384 // unofficial builds. See variations_service.cc. 1387 // unofficial builds. See variations_service.cc.
1385 const char kVariationsServerURL[] = "variations-server-url"; 1388 const char kVariationsServerURL[] = "variations-server-url";
1386 1389
1387 // Prints version information and quits. 1390 // Prints version information and quits.
1388 const char kVersion[] = "version"; 1391 const char kVersion[] = "version";
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after
1663 1666
1664 // ----------------------------------------------------------------------------- 1667 // -----------------------------------------------------------------------------
1665 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1668 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1666 // 1669 //
1667 // You were going to just dump your switches here, weren't you? Instead, please 1670 // You were going to just dump your switches here, weren't you? Instead, please
1668 // put them in alphabetical order above, or in order inside the appropriate 1671 // put them in alphabetical order above, or in order inside the appropriate
1669 // ifdef at the bottom. The order should match the header. 1672 // ifdef at the bottom. The order should match the header.
1670 // ----------------------------------------------------------------------------- 1673 // -----------------------------------------------------------------------------
1671 1674
1672 } // namespace switches 1675 } // namespace switches
OLDNEW
« chrome/browser/extensions/startup_helper.cc ('K') | « chrome/common/chrome_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698