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

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

Issue 2906103002: Post-cleanup settings reset. (Closed)
Patch Set: Addressed Nico's comments Created 3 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
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 "chrome/common/pref_names.h" 5 #include "chrome/common/pref_names.h"
6 6
7 #include "base/macros.h" 7 #include "base/macros.h"
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 #include "chrome/common/features.h" 9 #include "chrome/common/features.h"
10 #include "chrome/common/pref_font_webkit_names.h" 10 #include "chrome/common/pref_font_webkit_names.h"
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 // Stores information about the important sites dialog, including the time and 88 // Stores information about the important sites dialog, including the time and
89 // frequency it has been ignored. 89 // frequency it has been ignored.
90 const char kImportantSitesDialogHistory[] = "important_sites_dialog"; 90 const char kImportantSitesDialogHistory[] = "important_sites_dialog";
91 91
92 #if defined(OS_WIN) 92 #if defined(OS_WIN)
93 // This is a timestamp of the last time this profile was reset by a third party 93 // This is a timestamp of the last time this profile was reset by a third party
94 // tool. On Windows, a third party tool may set a registry value that will be 94 // tool. On Windows, a third party tool may set a registry value that will be
95 // compared to this value and if different will result in a profile reset 95 // compared to this value and if different will result in a profile reset
96 // prompt. See triggered_profile_resetter.h for more information. 96 // prompt. See triggered_profile_resetter.h for more information.
97 const char kLastProfileResetTimestamp[] = "profile.last_reset_timestamp"; 97 const char kLastProfileResetTimestamp[] = "profile.last_reset_timestamp";
98
99 // A boolean indicating if settings should be reset for this profile once a
100 // run of the Chrome Cleanup Tool has completed.
101 const char kChromeCleanerResetPending[] = "chrome_cleaner.reset_pending";
98 #endif 102 #endif
99 103
100 // The URL to open the new tab page to. Only set by Group Policy. 104 // The URL to open the new tab page to. Only set by Group Policy.
101 const char kNewTabPageLocationOverride[] = "newtab_page_location_override"; 105 const char kNewTabPageLocationOverride[] = "newtab_page_location_override";
102 106
103 // An integer that keeps track of the profile icon version. This allows us to 107 // An integer that keeps track of the profile icon version. This allows us to
104 // determine the state of the profile icon for icon format changes. 108 // determine the state of the profile icon for icon format changes.
105 const char kProfileIconVersion[] = "profile.icon_version"; 109 const char kProfileIconVersion[] = "profile.icon_version";
106 110
107 // Used to determine if the last session exited cleanly. Set to false when 111 // Used to determine if the last session exited cleanly. Set to false when
(...skipping 2449 matching lines...) Expand 10 before | Expand all | Expand 10 after
2557 // internal format (int64) in local store. (I.e., this is not a per-profile 2561 // internal format (int64) in local store. (I.e., this is not a per-profile
2558 // pref.) 2562 // pref.)
2559 const char kClipboardLastModifiedTime[] = "ui.clipboard.last_modified_time"; 2563 const char kClipboardLastModifiedTime[] = "ui.clipboard.last_modified_time";
2560 #endif 2564 #endif
2561 2565
2562 #if BUILDFLAG(ENABLE_OFFLINE_PAGES) 2566 #if BUILDFLAG(ENABLE_OFFLINE_PAGES)
2563 const char kOfflinePrefetchBackoff[] = "offline_prefetch.backoff"; 2567 const char kOfflinePrefetchBackoff[] = "offline_prefetch.backoff";
2564 #endif 2568 #endif
2565 2569
2566 } // namespace prefs 2570 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698