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

Side by Side Diff: chrome/browser/protector/homepage_change.cc

Issue 10656014: Merge 143605 - grd file update for new 2x assets (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1180/src/
Patch Set: Created 8 years, 6 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 | Annotate | Revision Log
OLDNEW
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" 9 #include "chrome/browser/profiles/profile.h"
10 #include "chrome/browser/protector/base_prefs_change.h" 10 #include "chrome/browser/protector/base_prefs_change.h"
11 #include "chrome/browser/protector/histograms.h" 11 #include "chrome/browser/protector/histograms.h"
12 #include "chrome/common/pref_names.h" 12 #include "chrome/common/pref_names.h"
13 #include "grit/chromium_strings.h" 13 #include "grit/chromium_strings.h"
14 #include "grit/generated_resources.h" 14 #include "grit/generated_resources.h"
15 #include "grit/theme_resources.h" 15 #include "grit/theme_resources_standard.h"
16 #include "ui/base/l10n/l10n_util.h" 16 #include "ui/base/l10n/l10n_util.h"
17 17
18 namespace protector { 18 namespace protector {
19 19
20 // Homepage change tracked by Protector. 20 // Homepage change tracked by Protector.
21 class HomepageChange : public BasePrefsChange { 21 class HomepageChange : public BasePrefsChange {
22 public: 22 public:
23 // Enum for reporting UMA statistics. 23 // Enum for reporting UMA statistics.
24 enum HomepageType { 24 enum HomepageType {
25 HOMEPAGE_NTP = 0, 25 HOMEPAGE_NTP = 0,
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 bool actual_show_homepage, 192 bool actual_show_homepage,
193 const std::string& backup_homepage, 193 const std::string& backup_homepage,
194 bool backup_homepage_is_ntp, 194 bool backup_homepage_is_ntp,
195 bool backup_show_homepage) { 195 bool backup_show_homepage) {
196 return new HomepageChange( 196 return new HomepageChange(
197 actual_homepage, actual_homepage_is_ntp, actual_show_homepage, 197 actual_homepage, actual_homepage_is_ntp, actual_show_homepage,
198 backup_homepage, backup_homepage_is_ntp, backup_show_homepage); 198 backup_homepage, backup_homepage_is_ntp, backup_show_homepage);
199 } 199 }
200 200
201 } // namespace protector 201 } // namespace protector
OLDNEW
« no previous file with comments | « chrome/browser/protector/default_search_provider_change.cc ('k') | chrome/browser/protector/prefs_backup_invalid_change.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698