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

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

Issue 18137007: DevTools: add about:flag for ADB-less remote debugging. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: For landing Created 7 years, 5 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') | no next file » | 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 1152 matching lines...) Expand 10 before | Expand all | Expand 10 after
1163 1163
1164 // Chrome supports a playback and record mode. Record mode saves *everything* 1164 // Chrome supports a playback and record mode. Record mode saves *everything*
1165 // to the cache. Playback mode reads data exclusively from the cache. This 1165 // to the cache. Playback mode reads data exclusively from the cache. This
1166 // allows us to record a session into the cache and then replay it at will. 1166 // allows us to record a session into the cache and then replay it at will.
1167 // See also kPlaybackMode. 1167 // See also kPlaybackMode.
1168 const char kRecordMode[] = "record-mode"; 1168 const char kRecordMode[] = "record-mode";
1169 1169
1170 // Uses custom front-end URL for the remote debugging. 1170 // Uses custom front-end URL for the remote debugging.
1171 const char kRemoteDebuggingFrontend[] = "remote-debugging-frontend"; 1171 const char kRemoteDebuggingFrontend[] = "remote-debugging-frontend";
1172 1172
1173 // Does not show an infobar when an extension attaches to a page using 1173 // Enables remote debugging of Chrome for Android via raw USB.
1174 // chrome.debugger page. Required to attach to extension background pages. 1174 const char kRemoteDebuggingRawUSB[] = "remote-debugging-raw-usb";
1175 const char kSilentDebuggerExtensionAPI[] = "silent-debugger-extension-api";
1176 1175
1177 // Enables print preview in the renderer. This flag is generated internally by 1176 // Enables print preview in the renderer. This flag is generated internally by
1178 // Chrome and does nothing when directly passed to the browser. 1177 // Chrome and does nothing when directly passed to the browser.
1179 const char kRendererPrintPreview[] = "renderer-print-preview"; 1178 const char kRendererPrintPreview[] = "renderer-print-preview";
1180 1179
1181 // Forces a reset of the one-time-randomized FieldTrials on this client, also 1180 // Forces a reset of the one-time-randomized FieldTrials on this client, also
1182 // known as the Chrome Variations state. 1181 // known as the Chrome Variations state.
1183 const char kResetVariationState[] = "reset-variation-state"; 1182 const char kResetVariationState[] = "reset-variation-state";
1184 1183
1185 // Indicates the last session should be restored on startup. This overrides the 1184 // Indicates the last session should be restored on startup. This overrides the
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
1247 1246
1248 // See kHideIcons. 1247 // See kHideIcons.
1249 const char kShowIcons[] = "show-icons"; 1248 const char kShowIcons[] = "show-icons";
1250 1249
1251 // If true the alignment of the launcher can be changed. 1250 // If true the alignment of the launcher can be changed.
1252 const char kShowLauncherAlignmentMenu[] = "show-launcher-alignment-menu"; 1251 const char kShowLauncherAlignmentMenu[] = "show-launcher-alignment-menu";
1253 1252
1254 // Marks a renderer as the signin process. 1253 // Marks a renderer as the signin process.
1255 const char kSigninProcess[] = "signin-process"; 1254 const char kSigninProcess[] = "signin-process";
1256 1255
1256 // Does not show an infobar when an extension attaches to a page using
1257 // chrome.debugger page. Required to attach to extension background pages.
1258 const char kSilentDebuggerExtensionAPI[] = "silent-debugger-extension-api";
1259
1257 // Changes the DCHECKS to dump memory and continue instead of displaying error 1260 // Changes the DCHECKS to dump memory and continue instead of displaying error
1258 // dialog. This is valid only in Release mode when --enable-dcheck is 1261 // dialog. This is valid only in Release mode when --enable-dcheck is
1259 // specified. 1262 // specified.
1260 const char kSilentDumpOnDCHECK[] = "silent-dump-on-dcheck"; 1263 const char kSilentDumpOnDCHECK[] = "silent-dump-on-dcheck";
1261 1264
1262 // Causes Chrome to launch without opening any windows by default. Useful if 1265 // Causes Chrome to launch without opening any windows by default. Useful if
1263 // one wishes to use Chrome as an ash server. 1266 // one wishes to use Chrome as an ash server.
1264 const char kSilentLaunch[] = "silent-launch"; 1267 const char kSilentLaunch[] = "silent-launch";
1265 1268
1266 // Simulates an update being available. 1269 // Simulates an update being available.
(...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after
1589 1592
1590 // ----------------------------------------------------------------------------- 1593 // -----------------------------------------------------------------------------
1591 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1594 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1592 // 1595 //
1593 // You were going to just dump your switches here, weren't you? Instead, please 1596 // You were going to just dump your switches here, weren't you? Instead, please
1594 // put them in alphabetical order above, or in order inside the appropriate 1597 // put them in alphabetical order above, or in order inside the appropriate
1595 // ifdef at the bottom. The order should match the header. 1598 // ifdef at the bottom. The order should match the header.
1596 // ----------------------------------------------------------------------------- 1599 // -----------------------------------------------------------------------------
1597 1600
1598 } // namespace switches 1601 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698