1 // Copyright (c) 2010 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 // Constants used for the Cookies API. 6 7 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_DEBUGGER_API_CONSTANTS_H_ 8 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_DEBUGGER_API_CONSTANTS_H_ 9 #pragma once 10 11 namespace extension_debugger_api_constants { 12 13 // Keys. 14 extern const char kCommandKey[]; 15 extern const char kDataKey[]; 16 extern const char kTabIdKey[]; 17 18 // Events. 19 extern const char kOnEvent[]; 20 extern const char kOnDetach[]; 21 22 // Errors. 23 extern const char kAlreadyAttachedError[]; 24 extern const char kDebuggerExecuteFailedError[]; 25 extern const char kNoTabError[]; 26 extern const char kNotAttachedError[]; 27 extern const char kPermissionError[]; 28 29 } // namespace extension_debugger_api_constants 30 31 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_DEBUGGER_API_CONSTANTS_H_ 32