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

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: Feedback 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
« no previous file with comments | « chrome/common/pref_names.h ('k') | no next file » | 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 2360 matching lines...) Expand 10 before | Expand all | Expand 10 after
2371 const char kOriginTrialDisabledFeatures[] = "origin_trials.disabled_features"; 2371 const char kOriginTrialDisabledFeatures[] = "origin_trials.disabled_features";
2372 2372
2373 // A list of origin trial tokens to disable by policy. 2373 // A list of origin trial tokens to disable by policy.
2374 const char kOriginTrialDisabledTokens[] = "origin_trials.disabled_tokens"; 2374 const char kOriginTrialDisabledTokens[] = "origin_trials.disabled_tokens";
2375 2375
2376 // Policy that indicates the state of updates for the binary components. 2376 // Policy that indicates the state of updates for the binary components.
2377 const char kComponentUpdatesEnabled[] = 2377 const char kComponentUpdatesEnabled[] =
2378 "component_updates.component_updates_enabled"; 2378 "component_updates.component_updates_enabled";
2379 2379
2380 #if defined(OS_ANDROID) 2380 #if defined(OS_ANDROID)
2381 // The current level of backoff for showing the location settings dialog for the
2382 // default search engine.
2383 const char kLocationSettingsBackoffLevelDSE[] =
2384 "location_settings_backoff_level_dse";
2385
2386 // The current level of backoff for showing the location settings dialog for
2387 // sites other than the default search engine.
2388 const char kLocationSettingsBackoffLevelDefault[] =
2389 "location_settings_backoff_level_default";
2390
2391 // The next time the location settings dialog can be shown for the default
2392 // search engine.
2393 const char kLocationSettingsNextShowDSE[] = "location_settings_next_show_dse";
2394
2395 // The next time the location settings dialog can be shown for sites other than
2396 // the default search engine.
2397 const char kLocationSettingsNextShowDefault[] =
2398 "location_settings_next_show_default";
2399
2381 // Whether the search geolocation disclosure has been dismissed by the user. 2400 // Whether the search geolocation disclosure has been dismissed by the user.
2382 const char kSearchGeolocationDisclosureDismissed[] = 2401 const char kSearchGeolocationDisclosureDismissed[] =
2383 "search_geolocation_disclosure.dismissed"; 2402 "search_geolocation_disclosure.dismissed";
2384 2403
2385 // How many times the search geolocation disclosure has been shown. 2404 // How many times the search geolocation disclosure has been shown.
2386 const char kSearchGeolocationDisclosureShownCount[] = 2405 const char kSearchGeolocationDisclosureShownCount[] =
2387 "search_geolocation_disclosure.shown_count"; 2406 "search_geolocation_disclosure.shown_count";
2388 2407
2389 // When the disclosure was shown last. 2408 // When the disclosure was shown last.
2390 const char kSearchGeolocationDisclosureLastShowDate[] = 2409 const char kSearchGeolocationDisclosureLastShowDate[] =
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
2503 // settings. 2522 // settings.
2504 const char kSettingsResetPromptLastTriggeredForStartupUrls[] = 2523 const char kSettingsResetPromptLastTriggeredForStartupUrls[] =
2505 "settings_reset_prompt.last_triggered_for_startup_urls"; 2524 "settings_reset_prompt.last_triggered_for_startup_urls";
2506 2525
2507 // Timestamp of the last time the settings reset prompt was shown during the 2526 // Timestamp of the last time the settings reset prompt was shown during the
2508 // current prompt wave asking the user if they want to restore their homepage. 2527 // current prompt wave asking the user if they want to restore their homepage.
2509 const char kSettingsResetPromptLastTriggeredForHomepage[] = 2528 const char kSettingsResetPromptLastTriggeredForHomepage[] =
2510 "settings_reset_prompt.last_triggered_for_homepage"; 2529 "settings_reset_prompt.last_triggered_for_homepage";
2511 2530
2512 } // namespace prefs 2531 } // namespace prefs
OLDNEW
« no previous file with comments | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698