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 #include "base/basictypes.h" | 5 #include "base/basictypes.h" |
6 #include "base/compiler_specific.h" | 6 #include "base/compiler_specific.h" |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "base/metrics/histogram.h" | 8 #include "base/metrics/histogram.h" |
9 #include "base/utf_string_conversions.h" | 9 #include "base/utf_string_conversions.h" |
10 #include "chrome/browser/prefs/pref_service.h" | 10 #include "chrome/browser/prefs/pref_service.h" |
11 #include "chrome/browser/prefs/session_startup_pref.h" | 11 #include "chrome/browser/prefs/session_startup_pref.h" |
12 #include "chrome/browser/profiles/profile.h" | 12 #include "chrome/browser/profiles/profile.h" |
13 #include "chrome/browser/protector/base_prefs_change.h" | 13 #include "chrome/browser/protector/base_prefs_change.h" |
14 #include "chrome/browser/protector/histograms.h" | 14 #include "chrome/browser/protector/histograms.h" |
15 #include "chrome/browser/protector/protector_service.h" | 15 #include "chrome/browser/protector/protector_service.h" |
16 #include "chrome/browser/protector/protector_service_factory.h" | 16 #include "chrome/browser/protector/protector_service_factory.h" |
17 #include "chrome/common/pref_names.h" | 17 #include "chrome/common/pref_names.h" |
18 #include "chrome/common/url_constants.h" | 18 #include "chrome/common/url_constants.h" |
19 #include "googleurl/src/gurl.h" | 19 #include "googleurl/src/gurl.h" |
20 #include "grit/chromium_strings.h" | 20 #include "grit/chromium_strings.h" |
21 #include "grit/generated_resources.h" | 21 #include "grit/generated_resources.h" |
22 #include "grit/theme_resources.h" | 22 #include "grit/theme_resources_standard.h" |
23 #include "ui/base/l10n/l10n_util.h" | 23 #include "ui/base/l10n/l10n_util.h" |
24 | 24 |
25 namespace protector { | 25 namespace protector { |
26 | 26 |
27 // Unknown change to Preferences with invalid backup. | 27 // Unknown change to Preferences with invalid backup. |
28 class PrefsBackupInvalidChange : public BasePrefsChange { | 28 class PrefsBackupInvalidChange : public BasePrefsChange { |
29 public: | 29 public: |
30 PrefsBackupInvalidChange(); | 30 PrefsBackupInvalidChange(); |
31 | 31 |
32 // BasePrefsChange overrides: | 32 // BasePrefsChange overrides: |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 | 142 |
143 bool PrefsBackupInvalidChange::CanBeMerged() const { | 143 bool PrefsBackupInvalidChange::CanBeMerged() const { |
144 return false; | 144 return false; |
145 } | 145 } |
146 | 146 |
147 BaseSettingChange* CreatePrefsBackupInvalidChange() { | 147 BaseSettingChange* CreatePrefsBackupInvalidChange() { |
148 return new PrefsBackupInvalidChange(); | 148 return new PrefsBackupInvalidChange(); |
149 } | 149 } |
150 | 150 |
151 } // namespace protector | 151 } // namespace protector |
OLD | NEW |