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

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

Issue 1748773002: Simplify the default browser infobar. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sync to position 379825 Created 4 years, 9 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/pref_font_webkit_names.h" 9 #include "chrome/common/pref_font_webkit_names.h"
10 10
(...skipping 938 matching lines...) Expand 10 before | Expand all | Expand 10 after
949 const char kPluginsAlwaysAuthorize[] = "plugins.always_authorize"; 949 const char kPluginsAlwaysAuthorize[] = "plugins.always_authorize";
950 950
951 #if defined(ENABLE_PLUGIN_INSTALLATION) 951 #if defined(ENABLE_PLUGIN_INSTALLATION)
952 // Dictionary holding plugins metadata. 952 // Dictionary holding plugins metadata.
953 const char kPluginsMetadata[] = "plugins.metadata"; 953 const char kPluginsMetadata[] = "plugins.metadata";
954 954
955 // Last update time of plugins resource cache. 955 // Last update time of plugins resource cache.
956 const char kPluginsResourceCacheUpdate[] = "plugins.resource_cache_update"; 956 const char kPluginsResourceCacheUpdate[] = "plugins.resource_cache_update";
957 #endif 957 #endif
958 958
959 // Boolean that indicates whether we should check if we are the default browser 959 // Int64 containing the internal value of the time at which the default browser
960 // on start-up. 960 // infobar was last dismissed by the user.
961 const char kCheckDefaultBrowser[] = "browser.check_default_browser"; 961 const char kDefaultBrowserLastDismissed[] =
962 // Boolean that indicates whether the kCheckDefaultBrowser preference should be 962 "browser.default_browser_infobar_last_dismissed";
963 // reset on start-up. 963 // Boolean that indicates whether the kDefaultBrowserLastDismissed preference
964 // should be reset on start-up.
964 const char kResetCheckDefaultBrowser[] = 965 const char kResetCheckDefaultBrowser[] =
965 "browser.should_reset_check_default_browser"; 966 "browser.should_reset_check_default_browser";
966 967
967 // Policy setting whether default browser check should be disabled and default 968 // Policy setting whether default browser check should be disabled and default
968 // browser registration should take place. 969 // browser registration should take place.
969 const char kDefaultBrowserSettingEnabled[] = 970 const char kDefaultBrowserSettingEnabled[] =
970 "browser.default_browser_setting_enabled"; 971 "browser.default_browser_setting_enabled";
971 972
972 #if defined(OS_MACOSX) 973 #if defined(OS_MACOSX)
973 // Boolean that indicates whether the application should show the info bar 974 // Boolean that indicates whether the application should show the info bar
(...skipping 1203 matching lines...) Expand 10 before | Expand all | Expand 10 after
2177 const char kMediaRouterEnableCloudServices[] = 2178 const char kMediaRouterEnableCloudServices[] =
2178 "media_router.cloudservices.enabled"; 2179 "media_router.cloudservices.enabled";
2179 #endif // defined(GOOGLE_CHROME_BUILD) 2180 #endif // defined(GOOGLE_CHROME_BUILD)
2180 // Whether or not the Media Router first run flow has been acknowledged by the 2181 // Whether or not the Media Router first run flow has been acknowledged by the
2181 // user. 2182 // user.
2182 const char kMediaRouterFirstRunFlowAcknowledged[] = 2183 const char kMediaRouterFirstRunFlowAcknowledged[] =
2183 "media_router.firstrunflow.acknowledged"; 2184 "media_router.firstrunflow.acknowledged";
2184 #endif 2185 #endif
2185 2186
2186 } // namespace prefs 2187 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698