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

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

Issue 1084005: Add GeolocationContentSettingsMap, a geolocation-specific variant of HostCont... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 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 | Annotate | Revision Log
OLDNEW
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 333 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 const wchar_t kPinnedTabs[] = L"pinned_tabs"; 352 const wchar_t kPinnedTabs[] = L"pinned_tabs";
353 353
354 // Integer containing the default Geolocation content setting.
355 const wchar_t kGeolocationDefaultContentSetting[] =
356 L"geolocation.default_content_setting";
357
358 // Dictionary that maps [frame, toplevel] to their Geolocation content setting.
359 const wchar_t kGeolocationContentSettings[] = L"geolocation.content_settings";
360
354 // *************** LOCAL STATE *************** 361 // *************** LOCAL STATE ***************
355 // These are attached to the machine/installation 362 // These are attached to the machine/installation
356 363
357 // The metrics client GUID and session ID. 364 // The metrics client GUID and session ID.
358 const wchar_t kMetricsClientID[] = L"user_experience_metrics.client_id"; 365 const wchar_t kMetricsClientID[] = L"user_experience_metrics.client_id";
359 const wchar_t kMetricsSessionID[] = L"user_experience_metrics.session_id"; 366 const wchar_t kMetricsSessionID[] = L"user_experience_metrics.session_id";
360 367
361 // Date/time when the current metrics profile ID was created 368 // Date/time when the current metrics profile ID was created
362 // (which hopefully corresponds to first run). 369 // (which hopefully corresponds to first run).
363 const wchar_t kMetricsClientIDTimestamp[] = 370 const wchar_t kMetricsClientIDTimestamp[] =
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after
678 const wchar_t kWebAppCreateInAppsMenu[] = 685 const wchar_t kWebAppCreateInAppsMenu[] =
679 L"browser.web_app.create_in_apps_menu"; 686 L"browser.web_app.create_in_apps_menu";
680 const wchar_t kWebAppCreateInQuickLaunchBar[] = 687 const wchar_t kWebAppCreateInQuickLaunchBar[] =
681 L"browser.web_app.create_in_quick_launch_bar"; 688 L"browser.web_app.create_in_quick_launch_bar";
682 689
683 // Dictionary that maps Geolocation network provider server URLs to 690 // Dictionary that maps Geolocation network provider server URLs to
684 // corresponding access token. 691 // corresponding access token.
685 const wchar_t kGeolocationAccessToken[] = L"geolocation.access_token"; 692 const wchar_t kGeolocationAccessToken[] = L"geolocation.access_token";
686 693
687 } // namespace prefs 694 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698