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

Side by Side Diff: chrome/browser/extensions/api/debugger/debugger_api_constants.h

Issue 12377047: Add chrome.debugger.getTargets method to discover available debug targets. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@targets
Patch Set: Removed flaky tests Created 7 years, 8 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
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 // Constants used for the Cookies API. 5 // Constants used for the Cookies API.
6 6
7 #ifndef CHROME_BROWSER_EXTENSIONS_API_DEBUGGER_DEBUGGER_API_CONSTANTS_H_ 7 #ifndef CHROME_BROWSER_EXTENSIONS_API_DEBUGGER_DEBUGGER_API_CONSTANTS_H_
8 #define CHROME_BROWSER_EXTENSIONS_API_DEBUGGER_DEBUGGER_API_CONSTANTS_H_ 8 #define CHROME_BROWSER_EXTENSIONS_API_DEBUGGER_DEBUGGER_API_CONSTANTS_H_
9 9
10 namespace debugger_api_constants { 10 namespace debugger_api_constants {
11 11
12 // Events. 12 // Events.
13 extern const char kOnEvent[]; 13 extern const char kOnEvent[];
14 extern const char kOnDetach[]; 14 extern const char kOnDetach[];
15 15
16 // Errors. 16 // Errors.
17 extern const char kAlreadyAttachedError[]; 17 extern const char kAlreadyAttachedError[];
18 extern const char kAttachToWebUIError[]; 18 extern const char kAttachToWebUIError[];
19 extern const char kNoTargetError[]; 19 extern const char kNoTargetError[];
20 extern const char kInvalidTargetError[]; 20 extern const char kInvalidTargetError[];
21 extern const char kNotAttachedError[]; 21 extern const char kNotAttachedError[];
22 extern const char kProtocolVersionNotSupportedError[]; 22 extern const char kProtocolVersionNotSupportedError[];
23 extern const char kSilentDebuggingRequired[]; 23 extern const char kSilentDebuggingRequired[];
24 24
25 // Target types. 25 // Target types.
26 extern const char kTabTargetType[]; 26 extern const char kTabTargetType[];
27 extern const char kExtensionTargetType[]; 27 extern const char kBackgroundPageTargetType[];
28 extern const char kOpaqueTargetType[];
28 29
29 } // namespace debugger_api_constants 30 } // namespace debugger_api_constants
30 31
31 #endif // CHROME_BROWSER_EXTENSIONS_API_DEBUGGER_DEBUGGER_API_CONSTANTS_H_ 32 #endif // CHROME_BROWSER_EXTENSIONS_API_DEBUGGER_DEBUGGER_API_CONSTANTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698