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

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

Issue 1294923003: Add a triggered profile reset mechanism. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: format Created 5 years, 3 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/basictypes.h" 7 #include "base/basictypes.h"
8 #include "chrome/common/pref_font_webkit_names.h" 8 #include "chrome/common/pref_font_webkit_names.h"
9 9
10 namespace prefs { 10 namespace prefs {
(...skipping 21 matching lines...) Expand all
32 // If set to true profiles are created in ephemeral mode and do not store their 32 // If set to true profiles are created in ephemeral mode and do not store their
33 // data in the profile folder on disk but only in memory. 33 // data in the profile folder on disk but only in memory.
34 const char kForceEphemeralProfiles[] = "profile.ephemeral_mode"; 34 const char kForceEphemeralProfiles[] = "profile.ephemeral_mode";
35 35
36 // A boolean specifying whether the New Tab page is the home page or not. 36 // A boolean specifying whether the New Tab page is the home page or not.
37 const char kHomePageIsNewTabPage[] = "homepage_is_newtabpage"; 37 const char kHomePageIsNewTabPage[] = "homepage_is_newtabpage";
38 38
39 // This is the URL of the page to load when opening new tabs. 39 // This is the URL of the page to load when opening new tabs.
40 const char kHomePage[] = "homepage"; 40 const char kHomePage[] = "homepage";
41 41
42 #if defined(OS_WIN)
43 // This is a timestamp of the last time this profile was reset by a third party
44 // tool. On Windows, a third party tool may set a registry value that will be
45 // compared to this value and if different will result in a profile reset
46 // prompt. See triggered_profile_resetter.h for more information.
47 const char kLastProfileResetTimestamp[] = "last_reset_timestamp";
grt (UTC plus 2) 2015/09/04 18:35:48 wdyt of this being profile.last_reset_timestamp?
robertshield 2015/09/04 20:27:18 I think that's a capital idea!
48 #endif
49
42 // An integer that keeps track of the profile icon version. This allows us to 50 // An integer that keeps track of the profile icon version. This allows us to
43 // determine the state of the profile icon for icon format changes. 51 // determine the state of the profile icon for icon format changes.
44 const char kProfileIconVersion[] = "profile.icon_version"; 52 const char kProfileIconVersion[] = "profile.icon_version";
45 53
46 // Used to determine if the last session exited cleanly. Set to false when 54 // Used to determine if the last session exited cleanly. Set to false when
47 // first opened, and to true when closing. On startup if the value is false, 55 // first opened, and to true when closing. On startup if the value is false,
48 // it means the profile didn't exit cleanly. 56 // it means the profile didn't exit cleanly.
49 // DEPRECATED: this is replaced by kSessionExitType and exists for backwards 57 // DEPRECATED: this is replaced by kSessionExitType and exists for backwards
50 // compatibility. 58 // compatibility.
51 const char kSessionExitedCleanly[] = "profile.exited_cleanly"; 59 const char kSessionExitedCleanly[] = "profile.exited_cleanly";
(...skipping 2156 matching lines...) Expand 10 before | Expand all | Expand 10 after
2208 "supervised_users.whitelists"; 2216 "supervised_users.whitelists";
2209 2217
2210 #if defined(ENABLE_EXTENSIONS) 2218 #if defined(ENABLE_EXTENSIONS)
2211 // Policy that indicates how to handle animated images. 2219 // Policy that indicates how to handle animated images.
2212 const char kAnimationPolicy[] = "settings.a11y.animation_policy"; 2220 const char kAnimationPolicy[] = "settings.a11y.animation_policy";
2213 #endif 2221 #endif
2214 2222
2215 const char kBackgroundTracingLastUpload[] = "background_tracing.last_upload"; 2223 const char kBackgroundTracingLastUpload[] = "background_tracing.last_upload";
2216 2224
2217 } // namespace prefs 2225 } // namespace prefs
OLDNEW
« chrome/browser/ui/startup/startup_browser_creator_impl.cc ('K') | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698