diff options
author | rdevlin.cronin@chromium.org <rdevlin.cronin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-21 19:42:28 +0000 |
---|---|---|
committer | rdevlin.cronin@chromium.org <rdevlin.cronin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-21 19:42:28 +0000 |
commit | 26ad9433f620e8d2ee2dd7e6f40f782e0fd6cc33 (patch) | |
tree | 88db8afddb58ca621be1d64a5a3a945a8c761b92 /chrome/browser/extensions/error_console/error_console.h | |
parent | e2eb8af4c96ce74c1ce1773fd2d94b1f16effe36 (diff) | |
download | chromium_src-26ad9433f620e8d2ee2dd7e6f40f782e0fd6cc33.zip chromium_src-26ad9433f620e8d2ee2dd7e6f40f782e0fd6cc33.tar.gz chromium_src-26ad9433f620e8d2ee2dd7e6f40f782e0fd6cc33.tar.bz2 |
Correctly indicate whether or not error collection is enabled in ErrorConsole
Fixes a problem where we incorrectly reported whether or not error collection
was enabled for unpacked extensions.
BUG=365331
Review URL: https://codereview.chromium.org/245403003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@265045 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/error_console/error_console.h')
-rw-r--r-- | chrome/browser/extensions/error_console/error_console.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/chrome/browser/extensions/error_console/error_console.h b/chrome/browser/extensions/error_console/error_console.h index 3176ce9..af2a865 100644 --- a/chrome/browser/extensions/error_console/error_console.h +++ b/chrome/browser/extensions/error_console/error_console.h @@ -145,10 +145,8 @@ class ErrorConsole : public content::NotificationObserver, const content::NotificationSource& source, const content::NotificationDetails& details) OVERRIDE; - // Returns true if we should report the error of the given type for the - // extension. - bool ShouldReportErrorForExtension(const std::string& extension_id, - ExtensionError::Type type) const; + // Returns the applicable bit mask of reporting preferences for the extension. + int GetMaskForExtension(const std::string& extension_id) const; // Whether or not the error console should record errors. This is true if // the user is in developer mode, and at least one of the following is true: |