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

Unified Diff: content/common/npobject_stub.cc

Issue 11235068: Move the remaning files in content\common to the content namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: 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/common/npobject_stub.h ('k') | content/common/npobject_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/npobject_stub.cc
===================================================================
--- content/common/npobject_stub.cc (revision 163632)
+++ content/common/npobject_stub.cc (working copy)
@@ -21,6 +21,8 @@
using WebKit::WebBindings;
+namespace content {
+
NPObjectStub::NPObjectStub(
NPObject* npobject,
NPChannelBase* channel,
@@ -73,7 +75,7 @@
}
bool NPObjectStub::OnMessageReceived(const IPC::Message& msg) {
- content::GetContentClient()->SetActiveURL(page_url_);
+ GetContentClient()->SetActiveURL(page_url_);
if (!npobject_) {
if (msg.is_sync()) {
// The object could be garbage because the frame has gone away, so
@@ -401,3 +403,5 @@
NPObjectMsg_Evaluate::WriteReplyParams(reply_msg, result_param, return_value);
channel_->Send(reply_msg);
}
+
+} // namespace content
« no previous file with comments | « content/common/npobject_stub.h ('k') | content/common/npobject_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698