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

Unified Diff: chrome/plugin/npobject_stub.cc

Issue 6677053: Get rid of some more dependencies on chrome\common from plugin, in preparatio... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 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
Index: chrome/plugin/npobject_stub.cc
===================================================================
--- chrome/plugin/npobject_stub.cc (revision 78225)
+++ chrome/plugin/npobject_stub.cc (working copy)
@@ -1,13 +1,13 @@
-// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/plugin/npobject_stub.h"
-#include "chrome/common/child_process_logging.h"
#include "chrome/plugin/npobject_util.h"
#include "chrome/plugin/plugin_channel_base.h"
#include "chrome/plugin/plugin_thread.h"
+#include "content/common/content_client.h"
#include "content/common/plugin_messages.h"
#include "third_party/npapi/bindings/npapi.h"
#include "third_party/npapi/bindings/npruntime.h"
@@ -63,7 +63,7 @@
}
bool NPObjectStub::OnMessageReceived(const IPC::Message& msg) {
- child_process_logging::SetActiveURL(page_url_);
+ content::GetContentClient()->SetActiveURL(page_url_);
if (!npobject_) {
if (msg.is_sync()) {

Powered by Google App Engine
This is Rietveld 408576698