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

Unified Diff: chrome/renderer/extensions/chrome_v8_context.h

Issue 12522004: Lazily load extension API schemas (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 months 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
Index: chrome/renderer/extensions/chrome_v8_context.h
diff --git a/chrome/renderer/extensions/chrome_v8_context.h b/chrome/renderer/extensions/chrome_v8_context.h
index 83142d02ac130b17a8bbddaf01933c227d81e4f0..5fd3f7d59ccd5a235a23b3510cbfc6992a7d59e1 100644
--- a/chrome/renderer/extensions/chrome_v8_context.h
+++ b/chrome/renderer/extensions/chrome_v8_context.h
@@ -102,6 +102,7 @@ class ChromeV8Context {
// APIs are available, returns an empty set.
const std::set<std::string>& GetAvailableExtensionAPIs();
+ // Returns the availability of the API |api_name|.
Feature::Availability GetAvailability(const std::string& api_name);
// Returns a string description of the type of context this is.

Powered by Google App Engine
This is Rietveld 408576698