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

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

Issue 439843002: Merge 280354 "Have the Debugger extension api check that it has ..." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/2062/src/
Patch Set: Created 6 years, 4 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/browser/extensions/api/debugger/debugger_api_constants.h" 5 #include "chrome/browser/extensions/api/debugger/debugger_api_constants.h"
6 6
7 namespace debugger_api_constants { 7 namespace debugger_api_constants {
8 8
9 const char kAlreadyAttachedError[] = 9 const char kAlreadyAttachedError[] =
10 "Another debugger is already attached to the * with id: *."; 10 "Another debugger is already attached to the * with id: *.";
11 const char kAttachToWebUIError[] =
12 "Can not attach to the page with the \"*://\" scheme.";
13 const char kNoTargetError[] = "No * with given id *."; 11 const char kNoTargetError[] = "No * with given id *.";
14 const char kInvalidTargetError[] = 12 const char kInvalidTargetError[] =
15 "Either tab id or extension id must be specified."; 13 "Either tab id or extension id must be specified.";
16 const char kNotAttachedError[] = 14 const char kNotAttachedError[] =
17 "Debugger is not attached to the * with id: *."; 15 "Debugger is not attached to the * with id: *.";
18 const char kProtocolVersionNotSupportedError[] = 16 const char kProtocolVersionNotSupportedError[] =
19 "Requested protocol version is not supported: *."; 17 "Requested protocol version is not supported: *.";
20 const char kSilentDebuggingRequired[] = 18 const char kSilentDebuggingRequired[] =
21 "Cannot attach to this target unless '*' flag is enabled."; 19 "Cannot attach to this target unless '*' flag is enabled.";
22 20
23 const char kTabTargetType[] = "tab"; 21 const char kTabTargetType[] = "tab";
24 const char kBackgroundPageTargetType[] = "background page"; 22 const char kBackgroundPageTargetType[] = "background page";
25 const char kOpaqueTargetType[] = "target"; 23 const char kOpaqueTargetType[] = "target";
26 24
27 } // namespace debugger_api_constants 25 } // namespace debugger_api_constants
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698