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

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

Issue 1695563002: Media Galleries Partial Deprecation: Remove scan functionality. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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/macros.h" 7 #include "base/macros.h"
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 #include "chrome/common/pref_font_webkit_names.h" 9 #include "chrome/common/pref_font_webkit_names.h"
10 10
(...skipping 1950 matching lines...) Expand 10 before | Expand all | Expand 10 after
1961 const char kAttemptedToEnableAutoupdate[] = 1961 const char kAttemptedToEnableAutoupdate[] =
1962 "browser.attempted_to_enable_autoupdate"; 1962 "browser.attempted_to_enable_autoupdate";
1963 1963
1964 // The next media gallery ID to assign. 1964 // The next media gallery ID to assign.
1965 const char kMediaGalleriesUniqueId[] = "media_galleries.gallery_id"; 1965 const char kMediaGalleriesUniqueId[] = "media_galleries.gallery_id";
1966 1966
1967 // A list of dictionaries, where each dictionary represents a known media 1967 // A list of dictionaries, where each dictionary represents a known media
1968 // gallery. 1968 // gallery.
1969 const char kMediaGalleriesRememberedGalleries[] = 1969 const char kMediaGalleriesRememberedGalleries[] =
1970 "media_galleries.remembered_galleries"; 1970 "media_galleries.remembered_galleries";
1971
1972 // The last time a media scan completed.
1973 const char kMediaGalleriesLastScanTime[] = "media_galleries.last_scan_time";
Devlin 2016/02/29 20:37:24 Do we need to clean this up in users' pref files?
tommycli 2016/02/29 21:53:30 When I discussed this with thestig, we thought tha
Devlin 2016/02/29 22:10:44 Unknown keys are still written to disk last I chec
tommycli 2016/02/29 22:49:03 SGTM. I'm okay with leaving this dangling since th
1974 #endif // !defined(OS_ANDROID) && !defined(OS_IOS) 1971 #endif // !defined(OS_ANDROID) && !defined(OS_IOS)
1975 1972
1976 #if defined(USE_ASH) 1973 #if defined(USE_ASH)
1977 // |kShelfAlignment| and |kShelfAutoHideBehavior| have a local variant. The 1974 // |kShelfAlignment| and |kShelfAutoHideBehavior| have a local variant. The
1978 // local variant is not synced and is used if set. If the local variant is not 1975 // local variant is not synced and is used if set. If the local variant is not
1979 // set its value is set from the synced value (once prefs have been 1976 // set its value is set from the synced value (once prefs have been
1980 // synced). This gives a per-machine setting that is initialized from the last 1977 // synced). This gives a per-machine setting that is initialized from the last
1981 // set value. 1978 // set value.
1982 // These values are default on the machine but can be overridden by per-display 1979 // These values are default on the machine but can be overridden by per-display
1983 // values in kShelfPreferences (unless overridden by managed policy). 1980 // values in kShelfPreferences (unless overridden by managed policy).
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
2177 const char kMediaRouterEnableCloudServices[] = 2174 const char kMediaRouterEnableCloudServices[] =
2178 "media_router.cloudservices.enabled"; 2175 "media_router.cloudservices.enabled";
2179 #endif // defined(GOOGLE_CHROME_BUILD) 2176 #endif // defined(GOOGLE_CHROME_BUILD)
2180 // Whether or not the Media Router first run flow has been acknowledged by the 2177 // Whether or not the Media Router first run flow has been acknowledged by the
2181 // user. 2178 // user.
2182 const char kMediaRouterFirstRunFlowAcknowledged[] = 2179 const char kMediaRouterFirstRunFlowAcknowledged[] =
2183 "media_router.firstrunflow.acknowledged"; 2180 "media_router.firstrunflow.acknowledged";
2184 #endif 2181 #endif
2185 2182
2186 } // namespace prefs 2183 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698