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

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

Issue 12304021: Allow chrome.debugger API to attach to extension background pages. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More descriptive flag name. Created 7 years, 10 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/api/debugger.json » ('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 1118 matching lines...) Expand 10 before | Expand all | Expand 10 after
1129 1129
1130 // Chrome supports a playback and record mode. Record mode saves *everything* 1130 // Chrome supports a playback and record mode. Record mode saves *everything*
1131 // to the cache. Playback mode reads data exclusively from the cache. This 1131 // to the cache. Playback mode reads data exclusively from the cache. This
1132 // allows us to record a session into the cache and then replay it at will. 1132 // allows us to record a session into the cache and then replay it at will.
1133 // See also kPlaybackMode. 1133 // See also kPlaybackMode.
1134 const char kRecordMode[] = "record-mode"; 1134 const char kRecordMode[] = "record-mode";
1135 1135
1136 // Uses custom front-end URL for the remote debugging. 1136 // Uses custom front-end URL for the remote debugging.
1137 const char kRemoteDebuggingFrontend[] = "remote-debugging-frontend"; 1137 const char kRemoteDebuggingFrontend[] = "remote-debugging-frontend";
1138 1138
1139 // Does not show an infobar when an extension attaches to a page using
1140 // chrome.debugger page. Required to attach to extension background pages.
1141 const char kSilentDebuggerExtensionAPI[] = "silent-debugger-extension-api";
1142
1139 // Enables print preview in the renderer. This flag is generated internally by 1143 // Enables print preview in the renderer. This flag is generated internally by
1140 // Chrome and does nothing when directly passed to the browser. 1144 // Chrome and does nothing when directly passed to the browser.
1141 const char kRendererPrintPreview[] = "renderer-print-preview"; 1145 const char kRendererPrintPreview[] = "renderer-print-preview";
1142 1146
1143 // Forces a reset of the local passphrase of the managed user account, and 1147 // Forces a reset of the local passphrase of the managed user account, and
1144 // the managed user settings dialog is shown where a new passphrase can be set. 1148 // the managed user settings dialog is shown where a new passphrase can be set.
1145 const char kResetLocalPassphrase[] = "reset-local-passphrase"; 1149 const char kResetLocalPassphrase[] = "reset-local-passphrase";
1146 1150
1147 // Forces a reset of the one-time-randomized FieldTrials on this client, also 1151 // Forces a reset of the one-time-randomized FieldTrials on this client, also
1148 // known as the Chrome Variations state. 1152 // known as the Chrome Variations state.
(...skipping 520 matching lines...) Expand 10 before | Expand all | Expand 10 after
1669 1673
1670 // ----------------------------------------------------------------------------- 1674 // -----------------------------------------------------------------------------
1671 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1675 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1672 // 1676 //
1673 // You were going to just dump your switches here, weren't you? Instead, please 1677 // You were going to just dump your switches here, weren't you? Instead, please
1674 // put them in alphabetical order above, or in order inside the appropriate 1678 // put them in alphabetical order above, or in order inside the appropriate
1675 // ifdef at the bottom. The order should match the header. 1679 // ifdef at the bottom. The order should match the header.
1676 // ----------------------------------------------------------------------------- 1680 // -----------------------------------------------------------------------------
1677 1681
1678 } // namespace switches 1682 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/common/extensions/api/debugger.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698