Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(60)

Unified Diff: extensions/browser/runtime_data.h

Issue 2442213003: Remove dead extensions tracking code. (Closed)
Patch Set: rebase Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « extensions/browser/api/web_request/web_request_api_helpers.cc ('k') | extensions/browser/runtime_data.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/runtime_data.h
diff --git a/extensions/browser/runtime_data.h b/extensions/browser/runtime_data.h
index c937a99f7f7cbed5f68c2fe2fcc385269401f3c9..3d263db9c0a0aca91187696a9d153bbf99c17df8 100644
--- a/extensions/browser/runtime_data.h
+++ b/extensions/browser/runtime_data.h
@@ -41,11 +41,6 @@ class RuntimeData : public ExtensionRegistryObserver {
bool IsBeingUpgraded(const std::string& extension_id) const;
void SetBeingUpgraded(const std::string& extension_id, bool value);
- // Getter and setter for the flag that specifies if the extension has used
- // the webrequest API.
- bool HasUsedWebRequest(const std::string& extension_id) const;
- void SetHasUsedWebRequest(const std::string& extension_id, bool value);
-
// Returns true if the extension is being tracked. Used only for testing.
bool HasExtensionForTesting(const std::string& extension_id) const;
@@ -65,8 +60,6 @@ class RuntimeData : public ExtensionRegistryObserver {
BACKGROUND_PAGE_READY = 1 << 0,
// Set while the extension is being upgraded.
BEING_UPGRADED = 1 << 1,
- // Set if the extension has used the webRequest API.
- HAS_USED_WEBREQUEST = 1 << 2,
};
// The mask of any data that should persist across the extension being
« no previous file with comments | « extensions/browser/api/web_request/web_request_api_helpers.cc ('k') | extensions/browser/runtime_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698