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

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

Issue 9653022: Revert 125811 - 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, 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
« no previous file with comments | « chrome/renderer/extensions/chrome_v8_context.cc ('k') | chrome/renderer/extensions/custom_bindings_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/extensions/chrome_v8_context_set_unittest.cc
===================================================================
--- chrome/renderer/extensions/chrome_v8_context_set_unittest.cc (revision 125812)
+++ chrome/renderer/extensions/chrome_v8_context_set_unittest.cc (working copy)
@@ -3,7 +3,6 @@
// found in the LICENSE file.
#include "base/message_loop.h"
-#include "chrome/common/extensions/feature.h"
#include "chrome/renderer/extensions/chrome_v8_context.h"
#include "chrome/renderer/extensions/chrome_v8_context_set.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -22,11 +21,9 @@
// creating a whole webview.
WebKit::WebFrame* frame = reinterpret_cast<WebKit::WebFrame*>(1);
std::string extension_id = "00000000000000000000000000000000";
- ChromeV8Context* context = new ChromeV8Context(
- v8_context,
- frame,
- extension_id,
- extensions::Feature::PRIVILEGED_CONTEXT);
+ ChromeV8Context* context =
+ new ChromeV8Context(
+ v8_context, frame, extension_id, ChromeV8Context::OTHER);
context_set.Add(context);
EXPECT_EQ(1u, context_set.GetAll().count(context));
« no previous file with comments | « chrome/renderer/extensions/chrome_v8_context.cc ('k') | chrome/renderer/extensions/custom_bindings_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698