summaryrefslogtreecommitdiffstats
path: root/chrome/browser/first_run/first_run_win.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/first_run/first_run_win.cc')
-rw-r--r--chrome/browser/first_run/first_run_win.cc14
1 files changed, 8 insertions, 6 deletions
diff --git a/chrome/browser/first_run/first_run_win.cc b/chrome/browser/first_run/first_run_win.cc
index 3b05e48..29b05b8 100644
--- a/chrome/browser/first_run/first_run_win.cc
+++ b/chrome/browser/first_run/first_run_win.cc
@@ -50,7 +50,7 @@ namespace {
// Helper class that performs delayed first-run tasks that need more of the
// chrome infrastructure to be up and running before they can be attempted.
-class FirstRunDelayedTasks : public NotificationObserver {
+class FirstRunDelayedTasks : public content::NotificationObserver {
public:
enum Tasks {
NO_TASK,
@@ -67,11 +67,13 @@ class FirstRunDelayedTasks : public NotificationObserver {
}
virtual void Observe(int type,
- const NotificationSource& source,
- const NotificationDetails& details) {
+ const content::NotificationSource& source,
+ const content::NotificationDetails& details) {
// After processing the notification we always delete ourselves.
- if (type == chrome::NOTIFICATION_EXTENSIONS_READY)
- DoExtensionWork(Source<Profile>(source).ptr()->GetExtensionService());
+ if (type == chrome::NOTIFICATION_EXTENSIONS_READY) {
+ DoExtensionWork(
+ content::Source<Profile>(source).ptr()->GetExtensionService());
+ }
delete this;
return;
}
@@ -90,7 +92,7 @@ class FirstRunDelayedTasks : public NotificationObserver {
return;
}
- NotificationRegistrar registrar_;
+ content::NotificationRegistrar registrar_;
};
// Creates the desktop shortcut to chrome for the current user. Returns