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

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

Issue 15716012: Add a Preference for Google Services to Use the User's Location (Closed) Base URL: https://src.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 6 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/basictypes.h" 7 #include "base/basictypes.h"
8 #include "chrome/common/pref_font_webkit_names.h" 8 #include "chrome/common/pref_font_webkit_names.h"
9 9
10 namespace prefs { 10 namespace prefs {
(...skipping 1101 matching lines...) Expand 10 before | Expand all | Expand 10 after
1112 const char kEditBookmarksEnabled[] = "bookmarks.editing_enabled"; 1112 const char kEditBookmarksEnabled[] = "bookmarks.editing_enabled";
1113 1113
1114 // Boolean that is true when the translate feature is enabled. 1114 // Boolean that is true when the translate feature is enabled.
1115 const char kEnableTranslate[] = "translate.enabled"; 1115 const char kEnableTranslate[] = "translate.enabled";
1116 1116
1117 #if !defined(OS_ANDROID) 1117 #if !defined(OS_ANDROID)
1118 const char kPinnedTabs[] = "pinned_tabs"; 1118 const char kPinnedTabs[] = "pinned_tabs";
1119 #endif 1119 #endif
1120 1120
1121 #if defined(OS_ANDROID) 1121 #if defined(OS_ANDROID)
1122 // Boolean that controls the enabled-state of Geolocation. 1122 // Boolean that controls the enabled-state of Geolocation in content.
1123 const char kGeolocationEnabled[] = "geolocation.enabled"; 1123 const char kGeolocationEnabled[] = "geolocation.enabled";
1124 #endif 1124 #endif
1125 1125
1126 // Boolean that is true when Google services can use the user's location.
1127 const char kComponentGeolocationEnabled[] = "componentgeolocation.enabled";
1128
1126 // The default audio capture device used by the Media content setting. 1129 // The default audio capture device used by the Media content setting.
1127 const char kDefaultAudioCaptureDevice[] = "media.default_audio_capture_device"; 1130 const char kDefaultAudioCaptureDevice[] = "media.default_audio_capture_device";
1128 1131
1129 // The default video capture device used by the Media content setting. 1132 // The default video capture device used by the Media content setting.
1130 const char kDefaultVideoCaptureDevice[] = "media.default_video_capture_Device"; 1133 const char kDefaultVideoCaptureDevice[] = "media.default_video_capture_Device";
1131 1134
1132 // Preference to disable 3D APIs (WebGL, Pepper 3D). 1135 // Preference to disable 3D APIs (WebGL, Pepper 3D).
1133 const char kDisable3DAPIs[] = "disable_3d_apis"; 1136 const char kDisable3DAPIs[] = "disable_3d_apis";
1134 1137
1135 // Whether to enable hyperlink auditing ("<a ping>"). 1138 // Whether to enable hyperlink auditing ("<a ping>").
(...skipping 1331 matching lines...) Expand 10 before | Expand all | Expand 10 after
2467 // ping and the time of the last ping. 2470 // ping and the time of the last ping.
2468 extern const char kAppListAppLaunchCount[] = "app_list.app_launch_count"; 2471 extern const char kAppListAppLaunchCount[] = "app_list.app_launch_count";
2469 extern const char kLastAppListAppLaunchPing[] = "app_list.last_app_launch_ping"; 2472 extern const char kLastAppListAppLaunchPing[] = "app_list.last_app_launch_ping";
2470 2473
2471 // A string pref for storing the salt used to compute the pepper device ID. 2474 // A string pref for storing the salt used to compute the pepper device ID.
2472 const char kDRMSalt[] = "settings.privacy.drm_salt"; 2475 const char kDRMSalt[] = "settings.privacy.drm_salt";
2473 // A boolean pref that enables the (private) pepper GetDeviceID() call. 2476 // A boolean pref that enables the (private) pepper GetDeviceID() call.
2474 const char kEnableDRM[] = "settings.privacy.drm_enabled"; 2477 const char kEnableDRM[] = "settings.privacy.drm_enabled";
2475 2478
2476 } // namespace prefs 2479 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698