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

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

Issue 9460002: Convert app_bindings.js to the schema_generated_bindings.js infrastructure. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 10 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.cc
diff --git a/chrome/renderer/extensions/chrome_v8_context.cc b/chrome/renderer/extensions/chrome_v8_context.cc
index eb3ef643f8140818d2456cf6a5f2834bc46e4de6..32ce52560ac232dc4eeba1bbc2da7fb746baefb7 100644
--- a/chrome/renderer/extensions/chrome_v8_context.cc
+++ b/chrome/renderer/extensions/chrome_v8_context.cc
@@ -26,8 +26,9 @@ const char kValidateCallbacks[] = "validateCallbacks";
std::string GetContextTypeDescription(
ChromeV8Context::ContextType context_type) {
switch (context_type) {
- case ChromeV8Context::OTHER: return "other";
+ case ChromeV8Context::BLESSED: return "blessed";
case ChromeV8Context::CONTENT_SCRIPT: return "content script";
+ case ChromeV8Context::UNPRIVILEGED: return "unprivileged";
}
NOTREACHED();
return "";

Powered by Google App Engine
This is Rietveld 408576698