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

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

Issue 2742373003: Limit the amount the Location Settings Dialog will be shown to users. (Closed)
Patch Set: Created 3 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/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 2377 matching lines...) Expand 10 before | Expand all | Expand 10 after
2388 const char kOriginTrialPublicKey[] = "origin_trials.public_key"; 2388 const char kOriginTrialPublicKey[] = "origin_trials.public_key";
2389 2389
2390 // A list of origin trial features to disable by policy. 2390 // A list of origin trial features to disable by policy.
2391 const char kOriginTrialDisabledFeatures[] = "origin_trials.disabled_features"; 2391 const char kOriginTrialDisabledFeatures[] = "origin_trials.disabled_features";
2392 2392
2393 // Policy that indicates the state of updates for the binary components. 2393 // Policy that indicates the state of updates for the binary components.
2394 const char kComponentUpdatesEnabled[] = 2394 const char kComponentUpdatesEnabled[] =
2395 "component_updates.component_updates_enabled"; 2395 "component_updates.component_updates_enabled";
2396 2396
2397 #if defined(OS_ANDROID) 2397 #if defined(OS_ANDROID)
2398 // The current level of backoff for showing the location settings dialog for the
2399 // default search engine.
2400 const char kLocationSettingsBackoffLevelDSE[] =
2401 "location_settings_backoff_level_dse";
2402
2403 // The current level of backoff for showing the location settings dialog for
2404 // sites other than the default search engine.
2405 const char kLocationSettingsBackoffLevelDefault[] =
2406 "location_settings_backoff_level_default";
2407
2408 // The next time the location settings dialog can be shown for the default
2409 // search engine.
2410 const char kLocationSettingsNextShowDSE[] = "location_settings_next_show_dse";
2411
2412 // The next time the location settings dialog can be shown for sites other than
2413 // the default search engine.
2414 const char kLocationSettingsNextShowDefault[] =
2415 "location_settings_next_show_default";
2416
2398 // Whether the search geolocation disclosure has been dismissed by the user. 2417 // Whether the search geolocation disclosure has been dismissed by the user.
2399 const char kSearchGeolocationDisclosureDismissed[] = 2418 const char kSearchGeolocationDisclosureDismissed[] =
2400 "search_geolocation_disclosure.dismissed"; 2419 "search_geolocation_disclosure.dismissed";
2401 2420
2402 // How many times the search geolocation disclosure has been shown. 2421 // How many times the search geolocation disclosure has been shown.
2403 const char kSearchGeolocationDisclosureShownCount[] = 2422 const char kSearchGeolocationDisclosureShownCount[] =
2404 "search_geolocation_disclosure.shown_count"; 2423 "search_geolocation_disclosure.shown_count";
2405 2424
2406 // When the disclosure was shown last. 2425 // When the disclosure was shown last.
2407 const char kSearchGeolocationDisclosureLastShowDate[] = 2426 const char kSearchGeolocationDisclosureLastShowDate[] =
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
2520 // settings. 2539 // settings.
2521 const char kSettingsResetPromptLastTriggeredForStartupUrls[] = 2540 const char kSettingsResetPromptLastTriggeredForStartupUrls[] =
2522 "settings_reset_prompt.last_triggered_for_startup_urls"; 2541 "settings_reset_prompt.last_triggered_for_startup_urls";
2523 2542
2524 // Timestamp of the last time the settings reset prompt was shown during the 2543 // Timestamp of the last time the settings reset prompt was shown during the
2525 // current prompt wave asking the user if they want to restore their homepage. 2544 // current prompt wave asking the user if they want to restore their homepage.
2526 const char kSettingsResetPromptLastTriggeredForHomepage[] = 2545 const char kSettingsResetPromptLastTriggeredForHomepage[] =
2527 "settings_reset_prompt.last_triggered_for_homepage"; 2546 "settings_reset_prompt.last_triggered_for_homepage";
2528 2547
2529 } // namespace prefs 2548 } // namespace prefs
OLDNEW
« chrome/browser/permissions/permission_context_base.h ('K') | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698