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

Side by Side Diff: chrome/common/pref_names.h

Issue 10049005: Fix homepage migration for users who never changed their settings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes Created 8 years, 8 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 // Constants for the names of various preferences, for easier changing. 5 // Constants for the names of various preferences, for easier changing.
6 6
7 #ifndef CHROME_COMMON_PREF_NAMES_H_ 7 #ifndef CHROME_COMMON_PREF_NAMES_H_
8 #define CHROME_COMMON_PREF_NAMES_H_ 8 #define CHROME_COMMON_PREF_NAMES_H_
9 #pragma once 9 #pragma once
10 10
11 #include <stddef.h> 11 #include <stddef.h>
12 12
13 #include "build/build_config.h" 13 #include "build/build_config.h"
14 14
15 namespace prefs { 15 namespace prefs {
16 16
17 // Profile prefs. Please add Local State prefs below instead. 17 // Profile prefs. Please add Local State prefs below instead.
18 extern const char kAppsPromoCounter[]; 18 extern const char kAppsPromoCounter[];
19 extern const char kDefaultApps[]; 19 extern const char kDefaultApps[];
20 extern const char kDefaultAppsInstalled[]; 20 extern const char kDefaultAppsInstalled[];
21 extern const char kHomePageIsNewTabPage[]; 21 extern const char kHomePageIsNewTabPage[];
22 extern const char kHomePage[]; 22 extern const char kHomePage[];
23 extern const char kHomePageChanged[]; 23 extern const char kHomePageChanged[];
24 extern const char kIsGooglePlusUser[]; 24 extern const char kIsGooglePlusUser[];
25 extern const char kSessionExitedCleanly[]; 25 extern const char kSessionExitedCleanly[];
26 extern const char kRestoreOnStartup[]; 26 extern const char kRestoreOnStartup[];
27 extern const char kURLsToRestoreOnStartup[]; 27 extern const char kURLsToRestoreOnStartup[];
28 extern const char kRestoreOnStartupMigrated[];
28 29
29 // For OS_CHROMEOS we maintain kApplicationLocale property in both local state 30 // For OS_CHROMEOS we maintain kApplicationLocale property in both local state
30 // and user's profile. Global property determines locale of login screen, 31 // and user's profile. Global property determines locale of login screen,
31 // while user's profile determines his personal locale preference. 32 // while user's profile determines his personal locale preference.
32 extern const char kApplicationLocale[]; 33 extern const char kApplicationLocale[];
33 #if defined(OS_CHROMEOS) 34 #if defined(OS_CHROMEOS)
34 extern const char kApplicationLocaleBackup[]; 35 extern const char kApplicationLocaleBackup[];
35 extern const char kApplicationLocaleAccepted[]; 36 extern const char kApplicationLocaleAccepted[];
36 extern const char kOwnerLocale[]; 37 extern const char kOwnerLocale[];
37 #endif 38 #endif
(...skipping 650 matching lines...) Expand 10 before | Expand all | Expand 10 after
688 extern const char kPointsBufferedForVelocity[]; 689 extern const char kPointsBufferedForVelocity[];
689 extern const char kRailBreakProportion[]; 690 extern const char kRailBreakProportion[];
690 extern const char kRailStartProportion[]; 691 extern const char kRailStartProportion[];
691 #endif 692 #endif
692 693
693 extern const char kInManagedMode[]; 694 extern const char kInManagedMode[];
694 695
695 } // namespace prefs 696 } // namespace prefs
696 697
697 #endif // CHROME_COMMON_PREF_NAMES_H_ 698 #endif // CHROME_COMMON_PREF_NAMES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698