From 26ad9433f620e8d2ee2dd7e6f40f782e0fd6cc33 Mon Sep 17 00:00:00 2001 From: "rdevlin.cronin@chromium.org" Date: Mon, 21 Apr 2014 19:42:28 +0000 Subject: 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 --- chrome/browser/extensions/error_console/error_console.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'chrome/browser/extensions/error_console/error_console.h') 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: -- cgit v1.1