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

Side by Side Diff: chrome/browser/notifications/extension_welcome_notification.h

Issue 1305213009: Componentize PrefSyncableService and support classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@pref_service_syncable
Patch Set: Add missing dependency on //sync:test_support_sync_api for unit tests with gn Created 5 years, 3 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_NOTIFICATIONS_EXTENSION_WELCOME_NOTIFICATION_H_ 5 #ifndef CHROME_BROWSER_NOTIFICATIONS_EXTENSION_WELCOME_NOTIFICATION_H_
6 #define CHROME_BROWSER_NOTIFICATIONS_EXTENSION_WELCOME_NOTIFICATION_H_ 6 #define CHROME_BROWSER_NOTIFICATIONS_EXTENSION_WELCOME_NOTIFICATION_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 #include "base/prefs/pref_member.h" 11 #include "base/prefs/pref_member.h"
12 #include "base/timer/timer.h" 12 #include "base/timer/timer.h"
13 #include "chrome/browser/prefs/pref_service_syncable_observer.h"
14 #include "components/keyed_service/core/keyed_service.h" 13 #include "components/keyed_service/core/keyed_service.h"
14 #include "components/syncable_prefs/pref_service_syncable_observer.h"
15 #include "ui/message_center/notifier_settings.h" 15 #include "ui/message_center/notifier_settings.h"
16 16
17 namespace base { 17 namespace base {
18 typedef Callback<void(void)> Closure; 18 typedef Callback<void(void)> Closure;
19 } 19 }
20 20
21 namespace message_center { 21 namespace message_center {
22 class MessageCenter; 22 class MessageCenter;
23 } 23 }
24 24
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 expiration_timer_; 155 expiration_timer_;
156 156
157 // Delegate for Chrome global calls like base::Time::GetTime() for 157 // Delegate for Chrome global calls like base::Time::GetTime() for
158 // testability. 158 // testability.
159 scoped_ptr<Delegate> delegate_; 159 scoped_ptr<Delegate> delegate_;
160 160
161 DISALLOW_COPY_AND_ASSIGN(ExtensionWelcomeNotification); 161 DISALLOW_COPY_AND_ASSIGN(ExtensionWelcomeNotification);
162 }; 162 };
163 163
164 #endif // CHROME_BROWSER_NOTIFICATIONS_EXTENSION_WELCOME_NOTIFICATION_H_ 164 #endif // CHROME_BROWSER_NOTIFICATIONS_EXTENSION_WELCOME_NOTIFICATION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698