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

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

Issue 7941014: Use extension-based file picker from CrOS for Aura builds. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix linux_touchui Created 9 years, 3 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/common/pref_names.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 1101 matching lines...) Expand 10 before | Expand all | Expand 10 after
1112 1112
1113 // Enables overriding the path for the default authentication extension. 1113 // Enables overriding the path for the default authentication extension.
1114 const char kAuthExtensionPath[] = "auth-ext-path"; 1114 const char kAuthExtensionPath[] = "auth-ext-path";
1115 1115
1116 // Enables archive file (zip) handling in file manager. 1116 // Enables archive file (zip) handling in file manager.
1117 const char kEnableArchives[] = "enable-archives"; 1117 const char kEnableArchives[] = "enable-archives";
1118 1118
1119 #ifndef NDEBUG 1119 #ifndef NDEBUG
1120 // Skips all other OOBE pages after user login. 1120 // Skips all other OOBE pages after user login.
1121 const char kOobeSkipPostLogin[] = "oobe-skip-postlogin"; 1121 const char kOobeSkipPostLogin[] = "oobe-skip-postlogin";
1122 1122 #endif // NDEBUG
1123 // Enables overriding the path off file manager extension. 1123 #endif // OS_CHROMEOS
1124 const char kFileManagerExtensionPath[] = "filemgr-ext-path";
1125 #endif
1126 #endif
1127 1124
1128 #if defined(OS_POSIX) 1125 #if defined(OS_POSIX)
1129 // A flag, generated internally by Chrome for renderer and other helper process 1126 // A flag, generated internally by Chrome for renderer and other helper process
1130 // command lines on Linux and Mac. It tells the helper process to enable crash 1127 // command lines on Linux and Mac. It tells the helper process to enable crash
1131 // dumping and reporting, because helpers cannot access the profile or other 1128 // dumping and reporting, because helpers cannot access the profile or other
1132 // files needed to make this decision. 1129 // files needed to make this decision.
1133 const char kEnableCrashReporter[] = "enable-crash-reporter"; 1130 const char kEnableCrashReporter[] = "enable-crash-reporter";
1134 1131
1135 // Bypass the error dialog when the profile lock couldn't be attained. 1132 // Bypass the error dialog when the profile lock couldn't be attained.
1136 // This switch is used during automated testing. 1133 // This switch is used during automated testing.
1137 const char kNoProcessSingletonDialog[] = "no-process-singleton-dialog"; 1134 const char kNoProcessSingletonDialog[] = "no-process-singleton-dialog";
1138 1135
1139 #if !defined(OS_MACOSX) && !defined(OS_CHROMEOS) 1136 #if !defined(OS_MACOSX) && !defined(OS_CHROMEOS)
1140 // Specifies which password store to use (detect, default, gnome, kwallet). 1137 // Specifies which password store to use (detect, default, gnome, kwallet).
1141 const char kPasswordStore[] = "password-store"; 1138 const char kPasswordStore[] = "password-store";
1142 #endif 1139 #endif
1143 #endif 1140 #endif // OS_POSIX
1144 1141
1145 #if defined(OS_MACOSX) 1142 #if defined(OS_MACOSX)
1146 // Enables the tabs expose feature ( http://crbug.com/50307 ). 1143 // Enables the tabs expose feature ( http://crbug.com/50307 ).
1147 const char kEnableExposeForTabs[] = "enable-expose-for-tabs"; 1144 const char kEnableExposeForTabs[] = "enable-expose-for-tabs";
1148 1145
1149 // A process type (switches::kProcessType) that relaunches the browser. See 1146 // A process type (switches::kProcessType) that relaunches the browser. See
1150 // chrome/browser/mac/relauncher.h. 1147 // chrome/browser/mac/relauncher.h.
1151 const char kRelauncherProcess[] = "relauncher"; 1148 const char kRelauncherProcess[] = "relauncher";
1152 1149
1153 // Use mock keychain for testing purposes, which prevents blocking dialogs from 1150 // Use mock keychain for testing purposes, which prevents blocking dialogs from
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
1200 const char kSetToken[] = "set-token"; 1197 const char kSetToken[] = "set-token";
1201 1198
1202 // Debug only switch to specify which websocket live experiment host to be used. 1199 // Debug only switch to specify which websocket live experiment host to be used.
1203 // If host is specified, it also makes initial delay shorter (5 min to 5 sec) 1200 // If host is specified, it also makes initial delay shorter (5 min to 5 sec)
1204 // to make it faster to test websocket live experiment code. 1201 // to make it faster to test websocket live experiment code.
1205 const char kWebSocketLiveExperimentHost[] = "websocket-live-experiment-host"; 1202 const char kWebSocketLiveExperimentHost[] = "websocket-live-experiment-host";
1206 1203
1207 // Debug only switch to give access to all private extension APIs to 1204 // Debug only switch to give access to all private extension APIs to
1208 // any non-component extension that is requesting it. 1205 // any non-component extension that is requesting it.
1209 const char kExposePrivateExtensionApi[] = "expose-private-extension-api"; 1206 const char kExposePrivateExtensionApi[] = "expose-private-extension-api";
1210 #endif 1207
1208 // Enables overriding the path of file manager extension.
1209 const char kFileManagerExtensionPath[] = "filemgr-ext-path";
1210 #endif // NDEBUG
1211 1211
1212 // Disable print preview (Not exposed via about:flags. Only used for testing.) 1212 // Disable print preview (Not exposed via about:flags. Only used for testing.)
1213 const char kDisablePrintPreview[] = "disable-print-preview"; 1213 const char kDisablePrintPreview[] = "disable-print-preview";
1214 1214
1215 // Enable print preview (no PDF viewer, thus not supported with Chromium). 1215 // Enable print preview (no PDF viewer, thus not supported with Chromium).
1216 // kDisablePrintPreview overrides this. 1216 // kDisablePrintPreview overrides this.
1217 const char kEnablePrintPreview[] = "enable-print-preview"; 1217 const char kEnablePrintPreview[] = "enable-print-preview";
1218 1218
1219 // Enables the benchmarking extensions. 1219 // Enables the benchmarking extensions.
1220 const char kEnableBenchmarking[] = "enable-benchmarking"; 1220 const char kEnableBenchmarking[] = "enable-benchmarking";
(...skipping 11 matching lines...) Expand all
1232 1232
1233 // ----------------------------------------------------------------------------- 1233 // -----------------------------------------------------------------------------
1234 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1234 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1235 // 1235 //
1236 // You were going to just dump your switches here, weren't you? Instead, 1236 // You were going to just dump your switches here, weren't you? Instead,
1237 // please put them in alphabetical order above, or in order inside the 1237 // please put them in alphabetical order above, or in order inside the
1238 // appropriate ifdef at the bottom. The order should match the header. 1238 // appropriate ifdef at the bottom. The order should match the header.
1239 // ----------------------------------------------------------------------------- 1239 // -----------------------------------------------------------------------------
1240 1240
1241 } // namespace switches 1241 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/common/pref_names.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698