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

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

Issue 2906103002: Post-cleanup settings reset. (Closed)
Patch Set: Use base::DoNothing 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
« no previous file with comments | « chrome/common/pref_names.h ('k') | chrome/test/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 // Stores information about the important sites dialog, including the time and 96 // Stores information about the important sites dialog, including the time and
97 // frequency it has been ignored. 97 // frequency it has been ignored.
98 const char kImportantSitesDialogHistory[] = "important_sites_dialog"; 98 const char kImportantSitesDialogHistory[] = "important_sites_dialog";
99 99
100 #if defined(OS_WIN) 100 #if defined(OS_WIN)
101 // This is a timestamp of the last time this profile was reset by a third party 101 // This is a timestamp of the last time this profile was reset by a third party
102 // tool. On Windows, a third party tool may set a registry value that will be 102 // tool. On Windows, a third party tool may set a registry value that will be
103 // compared to this value and if different will result in a profile reset 103 // compared to this value and if different will result in a profile reset
104 // prompt. See triggered_profile_resetter.h for more information. 104 // prompt. See triggered_profile_resetter.h for more information.
105 const char kLastProfileResetTimestamp[] = "profile.last_reset_timestamp"; 105 const char kLastProfileResetTimestamp[] = "profile.last_reset_timestamp";
106
107 // A boolean indicating if settings should be reset for this profile once a
108 // run of the Chrome Cleanup Tool has completed.
109 const char kChromeCleanerResetPending[] = "chrome_cleaner.reset_pending";
106 #endif 110 #endif
107 111
108 // The URL to open the new tab page to. Only set by Group Policy. 112 // The URL to open the new tab page to. Only set by Group Policy.
109 const char kNewTabPageLocationOverride[] = "newtab_page_location_override"; 113 const char kNewTabPageLocationOverride[] = "newtab_page_location_override";
110 114
111 // An integer that keeps track of the profile icon version. This allows us to 115 // An integer that keeps track of the profile icon version. This allows us to
112 // determine the state of the profile icon for icon format changes. 116 // determine the state of the profile icon for icon format changes.
113 const char kProfileIconVersion[] = "profile.icon_version"; 117 const char kProfileIconVersion[] = "profile.icon_version";
114 118
115 // Used to determine if the last session exited cleanly. Set to false when 119 // 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
2565 // internal format (int64) in local store. (I.e., this is not a per-profile 2569 // internal format (int64) in local store. (I.e., this is not a per-profile
2566 // pref.) 2570 // pref.)
2567 const char kClipboardLastModifiedTime[] = "ui.clipboard.last_modified_time"; 2571 const char kClipboardLastModifiedTime[] = "ui.clipboard.last_modified_time";
2568 #endif 2572 #endif
2569 2573
2570 #if BUILDFLAG(ENABLE_OFFLINE_PAGES) 2574 #if BUILDFLAG(ENABLE_OFFLINE_PAGES)
2571 const char kOfflinePrefetchBackoff[] = "offline_prefetch.backoff"; 2575 const char kOfflinePrefetchBackoff[] = "offline_prefetch.backoff";
2572 #endif 2576 #endif
2573 2577
2574 } // namespace prefs 2578 } // namespace prefs
OLDNEW
« no previous file with comments | « chrome/common/pref_names.h ('k') | chrome/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698