Home
last modified time | relevance | path

Searched refs:ExtensionError (Results 1 – 12 of 12) sorted by relevance

/external/chromium_org/extensions/browser/
Dextension_error.cc22 const char ExtensionError::kExtensionIdKey[] = "extensionId";
23 const char ExtensionError::kFromIncognitoKey[] = "fromIncognito";
24 const char ExtensionError::kLevelKey[] = "level";
25 const char ExtensionError::kMessageKey[] = "message";
26 const char ExtensionError::kSourceKey[] = "source";
27 const char ExtensionError::kTypeKey[] = "type";
29 ExtensionError::ExtensionError(Type type, in ExtensionError() function in extensions::ExtensionError
44 ExtensionError::~ExtensionError() { in ~ExtensionError()
47 scoped_ptr<DictionaryValue> ExtensionError::ToValue() const { in ToValue()
61 std::string ExtensionError::PrintForTest() const { in PrintForTest()
[all …]
Dextension_error.h24 class ExtensionError {
31 virtual ~ExtensionError();
40 bool IsEqual(const ExtensionError* rhs) const;
60 ExtensionError(Type type,
67 virtual bool IsEqualImpl(const ExtensionError* rhs) const = 0;
86 DISALLOW_COPY_AND_ASSIGN(ExtensionError);
89 class ManifestError : public ExtensionError {
109 virtual bool IsEqualImpl(const ExtensionError* rhs) const OVERRIDE;
121 class RuntimeError : public ExtensionError {
154 virtual bool IsEqualImpl(const ExtensionError* rhs) const OVERRIDE;
/external/chromium_org/chrome/browser/extensions/error_console/
Derror_console_browsertest.cc41 const StackTrace& GetStackTraceFromError(const ExtensionError* error) { in GetStackTraceFromError()
42 CHECK(error->type() == ExtensionError::RUNTIME_ERROR); in GetStackTraceFromError()
68 void CheckError(const ExtensionError* error, in CheckError()
69 ExtensionError::Type type, in CheckError()
83 void CheckRuntimeError(const ExtensionError* error, in CheckRuntimeError()
92 ExtensionError::RUNTIME_ERROR, in CheckRuntimeError()
104 void CheckManifestError(const ExtensionError* error, in CheckManifestError()
110 ExtensionError::MANIFEST_ERROR, in CheckManifestError()
156 virtual void OnErrorAdded(const ExtensionError* error) OVERRIDE { in OnErrorAdded()
293 const ExtensionError* permissions_error = NULL; in IN_PROC_BROWSER_TEST_F()
[all …]
Derror_console.h41 typedef std::deque<const ExtensionError*> ErrorList;
47 virtual void OnErrorAdded(const ExtensionError* error) = 0;
61 void ReportError(scoped_ptr<ExtensionError> error);
Derror_console_unittest.cc49 scoped_ptr<ExtensionError> CreateNewRuntimeError( in CreateNewRuntimeError()
53 return scoped_ptr<ExtensionError>(new RuntimeError( in CreateNewRuntimeError()
188 scoped_ptr<ExtensionError> runtime_error2 = in TEST_F()
190 const ExtensionError* weak_error = runtime_error2.get(); in TEST_F()
Derror_console.cc52 ExtensionError::Type type) { in DeleteErrorsOfTypeFromList()
105 void ErrorConsole::ReportError(scoped_ptr<ExtensionError> error) { in ReportError()
206 ReportError(scoped_ptr<ExtensionError>(new ManifestError( in AddManifestErrorsForExtension()
264 ExtensionError::MANIFEST_ERROR); in Observe()
/external/chromium_org/chrome/browser/resources/extensions/
Dextension_error.js49 function ExtensionError(error, templateName) { class
51 div.__proto__ = ExtensionError.prototype;
57 ExtensionError.prototype = { class
329 new ExtensionError(error,
/external/chromium_org/chrome/browser/ui/webui/extensions/
Dextension_error_handler.cc115 !dict->GetString(ExtensionError::kExtensionIdKey, &extension_id) || in HandleRequestFileSource()
116 !dict->GetString(ExtensionError::kMessageKey, &error_message)) { in HandleRequestFileSource()
140 results->SetString(ExtensionError::kMessageKey, error_message); in HandleRequestFileSource()
Dextension_settings_handler.h118 virtual void OnErrorAdded(const ExtensionError* error) OVERRIDE;
Dextension_settings_handler.cc321 if ((*iter)->type() == ExtensionError::MANIFEST_ERROR) { in CreateExtensionDetailValue()
548 void ExtensionSettingsHandler::OnErrorAdded(const ExtensionError* error) { in OnErrorAdded()
/external/chromium_org/chrome/browser/extensions/
Dextension_host.cc388 scoped_ptr<ExtensionError>(new RuntimeError( in OnDetailedConsoleMessageAdded()
Dtab_helper.cc440 scoped_ptr<ExtensionError>(new RuntimeError( in OnDetailedConsoleMessageAdded()