OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 namespace prefs { | 7 namespace prefs { |
8 | 8 |
9 // *************** PROFILE PREFS *************** | 9 // *************** PROFILE PREFS *************** |
10 // These are attached to the user profile | 10 // These are attached to the user profile |
(...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
342 // Dictionary that maps providers to lists of filter rules. | 342 // Dictionary that maps providers to lists of filter rules. |
343 const wchar_t kPrivacyFilterRules[] = L"profile.privacy_filter_rules"; | 343 const wchar_t kPrivacyFilterRules[] = L"profile.privacy_filter_rules"; |
344 | 344 |
345 // Boolean that is true when the tabstrip is to be laid out vertically down the | 345 // Boolean that is true when the tabstrip is to be laid out vertically down the |
346 // side of the browser window. | 346 // side of the browser window. |
347 const wchar_t kUseVerticalTabs[] = L"tabs.use_vertical_tabs"; | 347 const wchar_t kUseVerticalTabs[] = L"tabs.use_vertical_tabs"; |
348 | 348 |
349 // Boolean that is true when the translate feature is enabled. | 349 // Boolean that is true when the translate feature is enabled. |
350 const wchar_t kEnableTranslate[] = L"translate.enabled"; | 350 const wchar_t kEnableTranslate[] = L"translate.enabled"; |
351 | 351 |
| 352 // Integer containing the default Geolocation content setting. |
| 353 const wchar_t kGeolocationDefaultContentSetting[] = |
| 354 L"geolocation.default_content_setting"; |
| 355 |
| 356 // Dictionary that maps [frame, toplevel] to their Geolocation content setting. |
| 357 const wchar_t kGeolocationContentSettings[] = L"geolocation.content_settings"; |
| 358 |
352 // *************** LOCAL STATE *************** | 359 // *************** LOCAL STATE *************** |
353 // These are attached to the machine/installation | 360 // These are attached to the machine/installation |
354 | 361 |
355 // The metrics client GUID and session ID. | 362 // The metrics client GUID and session ID. |
356 const wchar_t kMetricsClientID[] = L"user_experience_metrics.client_id"; | 363 const wchar_t kMetricsClientID[] = L"user_experience_metrics.client_id"; |
357 const wchar_t kMetricsSessionID[] = L"user_experience_metrics.session_id"; | 364 const wchar_t kMetricsSessionID[] = L"user_experience_metrics.session_id"; |
358 | 365 |
359 // Date/time when the current metrics profile ID was created | 366 // Date/time when the current metrics profile ID was created |
360 // (which hopefully corresponds to first run). | 367 // (which hopefully corresponds to first run). |
361 const wchar_t kMetricsClientIDTimestamp[] = | 368 const wchar_t kMetricsClientIDTimestamp[] = |
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
676 const wchar_t kWebAppCreateInAppsMenu[] = | 683 const wchar_t kWebAppCreateInAppsMenu[] = |
677 L"browser.web_app.create_in_apps_menu"; | 684 L"browser.web_app.create_in_apps_menu"; |
678 const wchar_t kWebAppCreateInQuickLaunchBar[] = | 685 const wchar_t kWebAppCreateInQuickLaunchBar[] = |
679 L"browser.web_app.create_in_quick_launch_bar"; | 686 L"browser.web_app.create_in_quick_launch_bar"; |
680 | 687 |
681 // Dictionary that maps Geolocation network provider server URLs to | 688 // Dictionary that maps Geolocation network provider server URLs to |
682 // corresponding access token. | 689 // corresponding access token. |
683 const wchar_t kGeolocationAccessToken[] = L"geolocation.access_token"; | 690 const wchar_t kGeolocationAccessToken[] = L"geolocation.access_token"; |
684 | 691 |
685 } // namespace prefs | 692 } // namespace prefs |
OLD | NEW |