Home | History | Annotate | Download | only in debugger
      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
      3 // found in the LICENSE file.
      4 
      5 #include "chrome/browser/extensions/api/debugger/debugger_api_constants.h"
      6 
      7 namespace debugger_api_constants {
      8 
      9 const char kOnEvent[] = "debugger.onEvent";
     10 const char kOnDetach[] = "debugger.onDetach";
     11 
     12 const char kAlreadyAttachedError[] =
     13     "Another debugger is already attached to the * with id: *.";
     14 const char kAttachToWebUIError[] =
     15     "Can not attach to the page with the \"*://\" scheme.";
     16 const char kNoTargetError[] = "No * with given id *.";
     17 const char kInvalidTargetError[] =
     18     "Either tab id or extension id must be specified.";
     19 const char kNotAttachedError[] =
     20     "Debugger is not attached to the * with id: *.";
     21 const char kProtocolVersionNotSupportedError[] =
     22     "Requested protocol version is not supported: *.";
     23 const char kSilentDebuggingRequired[] =
     24     "Cannot attach to this target unless '*' flag is enabled.";
     25 
     26 const char kTabTargetType[] = "tab";
     27 const char kBackgroundPageTargetType[] = "background page";
     28 const char kOpaqueTargetType[] = "target";
     29 
     30 }  // namespace debugger_api_constants
     31