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

Unified Diff: content/renderer/web_intents_host_browsertest.cc

Issue 11232014: Move a bunch of code in content\renderer to the content namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix mac Created 8 years, 2 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 | « content/renderer/web_intents_host.cc ('k') | content/renderer/webplugin_delegate_proxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/web_intents_host_browsertest.cc
===================================================================
--- content/renderer/web_intents_host_browsertest.cc (revision 163045)
+++ content/renderer/web_intents_host_browsertest.cc (working copy)
@@ -14,7 +14,9 @@
#include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebSerializedScriptValue.h"
#include "webkit/glue/web_intent_data.h"
-class WebIntentsHostTest : public content::RenderViewTest {
+namespace content {
+
+class WebIntentsHostTest : public RenderViewTest {
protected:
RenderViewImpl* view() { return static_cast<RenderViewImpl*>(view_); }
WebIntentsHost* web_intents_host() { return view()->intents_host_; }
@@ -33,8 +35,7 @@
v8::Local<v8::Context> ctx = GetMainFrame()->mainWorldScriptContext();
v8::Context::Scope cscope(ctx);
v8::Handle<v8::Value> v8_val = serialized_data.deserialize();
- scoped_ptr<content::V8ValueConverter> converter(
- content::V8ValueConverter::create());
+ scoped_ptr<V8ValueConverter> converter(V8ValueConverter::create());
base::Value* reply = converter->FromV8Value(v8_val, ctx);
EXPECT_TRUE(reply->IsType(base::Value::TYPE_DICTIONARY));
base::DictionaryValue* dict = NULL;
@@ -118,3 +119,5 @@
v2->GetStringASCII(std::string("key2"), &val2);
EXPECT_EQ("val2", val2);
}
+
+} // namespace content
« no previous file with comments | « content/renderer/web_intents_host.cc ('k') | content/renderer/webplugin_delegate_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698