summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extension_function.cc
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-19 03:07:55 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-19 03:07:55 +0000
commit86ab86b73e4167c4bcf19c16bf08ca9a780fb48b (patch)
tree9154a52a53f85e739c59f43fe34a3cc7963cc06f /chrome/browser/extensions/extension_function.cc
parentfccf2fb4583e78321e5da59dfba0c8b2021f914e (diff)
downloadchromium_src-86ab86b73e4167c4bcf19c16bf08ca9a780fb48b.zip
chromium_src-86ab86b73e4167c4bcf19c16bf08ca9a780fb48b.tar.gz
chromium_src-86ab86b73e4167c4bcf19c16bf08ca9a780fb48b.tar.bz2
Move notification_source from content/common to content/browser/public and put it into the content namespace.
BUG=98716 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106203 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extension_function.cc')
-rw-r--r--chrome/browser/extensions/extension_function.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/chrome/browser/extensions/extension_function.cc b/chrome/browser/extensions/extension_function.cc
index 81e2851..64a901c 100644
--- a/chrome/browser/extensions/extension_function.cc
+++ b/chrome/browser/extensions/extension_function.cc
@@ -14,8 +14,8 @@
#include "content/browser/renderer_host/render_process_host.h"
#include "content/browser/renderer_host/render_view_host.h"
#include "content/browser/user_metrics.h"
-#include "content/common/notification_source.h"
#include "content/common/result_codes.h"
+#include "content/public/browser/notification_source.h"
#include "content/public/browser/notification_types.h"
// static
@@ -28,15 +28,15 @@ UIThreadExtensionFunction::RenderViewHostTracker::RenderViewHostTracker(
: function_(function) {
registrar_.Add(this,
content::NOTIFICATION_RENDER_VIEW_HOST_DELETED,
- Source<RenderViewHost>(function->render_view_host()));
+ content::Source<RenderViewHost>(function->render_view_host()));
}
void UIThreadExtensionFunction::RenderViewHostTracker::Observe(
int type,
- const NotificationSource& source,
- const NotificationDetails& details) {
+ const content::NotificationSource& source,
+ const content::NotificationDetails& details) {
CHECK(type == content::NOTIFICATION_RENDER_VIEW_HOST_DELETED);
- CHECK(Source<RenderViewHost>(source).ptr() ==
+ CHECK(content::Source<RenderViewHost>(source).ptr() ==
function_->render_view_host());
function_->SetRenderViewHost(NULL);
}