OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_PROTECTOR_PROTECTOR_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_PROTECTOR_PROTECTOR_SERVICE_H_ |
6 #define CHROME_BROWSER_PROTECTOR_PROTECTOR_SERVICE_H_ | 6 #define CHROME_BROWSER_PROTECTOR_PROTECTOR_SERVICE_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
13 #include "base/memory/linked_ptr.h" | 13 #include "base/memory/linked_ptr.h" |
14 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
15 #include "base/message_loop_helpers.h" | 15 #include "base/sequenced_task_runner_helpers.h" |
16 #include "chrome/browser/profiles/profile_keyed_service.h" | 16 #include "chrome/browser/profiles/profile_keyed_service.h" |
17 #include "chrome/browser/protector/base_setting_change.h" | 17 #include "chrome/browser/protector/base_setting_change.h" |
18 #include "chrome/browser/protector/settings_change_global_error_delegate.h" | 18 #include "chrome/browser/protector/settings_change_global_error_delegate.h" |
19 | 19 |
20 class GURL; | 20 class GURL; |
21 class PrefService; | 21 class PrefService; |
22 class Profile; | 22 class Profile; |
23 class TemplateURLService; | 23 class TemplateURLService; |
24 | 24 |
25 namespace protector { | 25 namespace protector { |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
144 | 144 |
145 // Observes changes to protected prefs and updates the backup. | 145 // Observes changes to protected prefs and updates the backup. |
146 scoped_ptr<ProtectedPrefsWatcher> prefs_watcher_; | 146 scoped_ptr<ProtectedPrefsWatcher> prefs_watcher_; |
147 | 147 |
148 DISALLOW_COPY_AND_ASSIGN(ProtectorService); | 148 DISALLOW_COPY_AND_ASSIGN(ProtectorService); |
149 }; | 149 }; |
150 | 150 |
151 } // namespace protector | 151 } // namespace protector |
152 | 152 |
153 #endif // CHROME_BROWSER_PROTECTOR_PROTECTOR_SERVICE_H_ | 153 #endif // CHROME_BROWSER_PROTECTOR_PROTECTOR_SERVICE_H_ |
OLD | NEW |