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

Unified Diff: chrome/browser/extensions/api/api_function.h

Issue 11636050: Eliminate ApiResourceEventNotifier. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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 | « no previous file | chrome/browser/extensions/api/api_function.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/api_function.h
diff --git a/chrome/browser/extensions/api/api_function.h b/chrome/browser/extensions/api/api_function.h
index 21992537e10da847abfab43a93d3ba49735ba929..0aacdad679b02ac33d3d7e703e55fc5ab8ac9ba0 100644
--- a/chrome/browser/extensions/api/api_function.h
+++ b/chrome/browser/extensions/api/api_function.h
@@ -10,19 +10,13 @@
namespace extensions {
-class ApiResourceEventNotifier;
-
+// Base class for API functions. TODO(miket): there isn't much here anymore
+// since the removal of ApiResourceEventRouter. Should we promote all its
+// subclasses to UIThreadExtensionFunctions?
class ApiFunction : public UIThreadExtensionFunction {
protected:
ApiFunction();
virtual ~ApiFunction();
-
- // Looks for a kSrcId key that might have been added to a create method's
- // options object.
- int ExtractSrcId(const DictionaryValue* options);
-
- // Utility.
- ApiResourceEventNotifier* CreateEventNotifier(int src_id);
};
// AsyncApiFunction provides convenient thread management for APIs that need to
« no previous file with comments | « no previous file | chrome/browser/extensions/api/api_function.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698