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

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

Issue 10821133: Move c/r/extensions/* into extensions namespace (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Latest master for cq Created 8 years, 4 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_set_unittest.cc
diff --git a/chrome/renderer/extensions/chrome_v8_context_set_unittest.cc b/chrome/renderer/extensions/chrome_v8_context_set_unittest.cc
index 6d4338f5c15fdbca82d90cad5f849034f28da2c6..65f3405c47a8105e652a3724eca7ffe000958eac 100644
--- a/chrome/renderer/extensions/chrome_v8_context_set_unittest.cc
+++ b/chrome/renderer/extensions/chrome_v8_context_set_unittest.cc
@@ -11,6 +11,8 @@
#include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h"
#include "v8/include/v8.h"
+namespace extensions {
+
TEST(ChromeV8ContextSet, Lifecycle) {
MessageLoop loop;
@@ -22,12 +24,12 @@ TEST(ChromeV8ContextSet, Lifecycle) {
// Dirty hack, but we don't actually need the frame, and this is easier than
// creating a whole webview.
WebKit::WebFrame* frame = reinterpret_cast<WebKit::WebFrame*>(1);
- const extensions::Extension* extension = NULL;
+ const Extension* extension = NULL;
ChromeV8Context* context = new ChromeV8Context(
v8_context,
frame,
extension,
- extensions::Feature::BLESSED_EXTENSION_CONTEXT);
+ Feature::BLESSED_EXTENSION_CONTEXT);
context_set.Add(context);
EXPECT_EQ(1u, context_set.GetAll().count(context));
@@ -52,3 +54,5 @@ TEST(ChromeV8ContextSet, Lifecycle) {
// Run loop to do the actual deletion.
loop.RunAllPending();
}
+
+} // namespace extensions
« no previous file with comments | « chrome/renderer/extensions/chrome_v8_context_set.cc ('k') | chrome/renderer/extensions/chrome_v8_extension.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698