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/metrics/histogram.h" | 6 #include "base/metrics/histogram.h" |
7 #include "base/utf_string_conversions.h" | 7 #include "base/utf_string_conversions.h" |
8 #include "chrome/browser/prefs/pref_service.h" | 8 #include "chrome/browser/prefs/pref_service.h" |
9 #include "chrome/browser/profiles/profile.h" | |
10 #include "chrome/browser/protector/base_prefs_change.h" | 9 #include "chrome/browser/protector/base_prefs_change.h" |
11 #include "chrome/browser/protector/histograms.h" | 10 #include "chrome/browser/protector/histograms.h" |
12 #include "chrome/common/pref_names.h" | 11 #include "chrome/common/pref_names.h" |
13 #include "grit/chromium_strings.h" | 12 #include "grit/chromium_strings.h" |
14 #include "grit/generated_resources.h" | 13 #include "grit/generated_resources.h" |
15 #include "grit/theme_resources.h" | 14 #include "grit/theme_resources.h" |
16 #include "ui/base/l10n/l10n_util.h" | 15 #include "ui/base/l10n/l10n_util.h" |
17 | 16 |
18 namespace protector { | 17 namespace protector { |
19 | 18 |
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
192 bool actual_show_homepage, | 191 bool actual_show_homepage, |
193 const std::string& backup_homepage, | 192 const std::string& backup_homepage, |
194 bool backup_homepage_is_ntp, | 193 bool backup_homepage_is_ntp, |
195 bool backup_show_homepage) { | 194 bool backup_show_homepage) { |
196 return new HomepageChange( | 195 return new HomepageChange( |
197 actual_homepage, actual_homepage_is_ntp, actual_show_homepage, | 196 actual_homepage, actual_homepage_is_ntp, actual_show_homepage, |
198 backup_homepage, backup_homepage_is_ntp, backup_show_homepage); | 197 backup_homepage, backup_homepage_is_ntp, backup_show_homepage); |
199 } | 198 } |
200 | 199 |
201 } // namespace protector | 200 } // namespace protector |
OLD | NEW |