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

Unified Diff: chrome/common/pref_names.cc

Issue 9949033: Removed access to prefs that does not work on Android (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix bad ifdef Created 8 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/pref_names.cc
diff --git a/chrome/common/pref_names.cc b/chrome/common/pref_names.cc
index 137de2fc3584acb1494872e44b5559eb5da2a516..7fa560568e3a79c4a303af8a05735410a4a312e7 100644
--- a/chrome/common/pref_names.cc
+++ b/chrome/common/pref_names.cc
@@ -749,11 +749,13 @@ const char kPluginsEnabledInternalPDF[] = "plugins.enabled_internal_pdf3";
// enable it by default, we'll want to do so only once.
const char kPluginsEnabledNaCl[] = "plugins.enabled_nacl";
+#if !defined(OS_ANDROID)
const char kPluginsShowSetReaderDefaultInfobar[] =
"plugins.show_set_reader_default";
// Whether about:plugins is shown in the details mode or not.
const char kPluginsShowDetails[] = "plugins.show_details";
+#endif
// Boolean that indicates whether outdated plugins are allowed or not.
const char kPluginsAllowOutdated[] = "plugins.allow_outdated";
@@ -818,9 +820,11 @@ const char kContentSettingsPatternPairs[] =
const char kContentSettingsDefaultWhitelistVersion[] =
"profile.content_settings.whitelist_version";
+#if !defined(OS_ANDROID)
// Which plugins have been whitelisted manually by the user.
const char kContentSettingsPluginWhitelist[] =
"profile.content_settings.plugin_whitelist";
+#endif
// Boolean that is true if we should unconditionally block third-party cookies,
// regardless of other content settings.
@@ -864,7 +868,9 @@ const char kEditBookmarksEnabled[] = "bookmarks.editing_enabled";
// Boolean that is true when the translate feature is enabled.
const char kEnableTranslate[] = "translate.enabled";
+#if !defined(OS_ANDROID)
const char kPinnedTabs[] = "pinned_tabs";
+#endif
// Boolean that is true when HTTP throttling is enabled.
const char kHttpThrottlingEnabled[] = "http_throttling.enabled";
@@ -1327,8 +1333,10 @@ const char kNtpMostVisitedPinnedURLs[] = "ntp.pinned_urls";
// dynamically deliver data for the new tab page.
const char kNtpPromoResourceCache[] = "ntp.promo_resource_cache";
+#if defined(ENABLE_PROMO_RESOURCE_SERVICE)
// Last time of update of promo_resource_cache.
const char kNtpPromoResourceCacheUpdate[] = "ntp.promo_resource_cache_update";
+#endif
// Is user logged into G+ (used for G+ extension promo).
const char kNtpPromoIsLoggedInToPlus[] = "ntp.promo_is_logged_in_to_plus";
@@ -1351,10 +1359,12 @@ const char kNtpShownBookmarksFolder[] = "ntp.shown_bookmarks_folder";
// Which page should be visible on the new tab page v4
const char kNtpShownPage[] = "ntp.shown_page";
+#if defined(ENABLE_PROMO_RESOURCE_SERVICE)
// Dates between which the NTP should show a custom logo rather than the
// standard one.
const char kNtpCustomLogoStart[] = "ntp.alt_logo_start";
const char kNtpCustomLogoEnd[] = "ntp.alt_logo_end";
+#endif
// The promo resource service version number.
const char kNtpPromoVersion[] = "ntp.promo_version";
@@ -1579,9 +1589,11 @@ const char kCloudPrintSigninDialogHeight[] =
// launches.
const char kRegisteredBackgroundContents[] = "background_contents.registered";
+#if !defined(OS_ANDROID)
// An int that stores how often we've shown the "Chrome is configured to
// auto-launch" infobar.
const char kShownAutoLaunchInfobar[] = "browser.shown_autolaunch_infobar";
+#endif
// String that lists supported HTTP authentication schemes.
const char kAuthSchemes[] = "auth.schemes";
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698