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

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

Issue 2639463002: Add a pref name for share targets, and store their manifest data. (Closed)
Patch Set: Added tests. Created 3 years, 11 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/features.h" 9 #include "chrome/common/features.h"
10 #include "chrome/common/pref_font_webkit_names.h" 10 #include "chrome/common/pref_font_webkit_names.h"
(...skipping 2343 matching lines...) Expand 10 before | Expand all | Expand 10 after
2354 // Whether the metrics for the state of geolocation post-disclosure being shown 2354 // Whether the metrics for the state of geolocation post-disclosure being shown
2355 // have been recorded. 2355 // have been recorded.
2356 const char kSearchGeolocationPostDisclosureMetricsRecorded[] = 2356 const char kSearchGeolocationPostDisclosureMetricsRecorded[] =
2357 "search_geolocation_post_disclosure_metrics_recorded"; 2357 "search_geolocation_post_disclosure_metrics_recorded";
2358 #endif 2358 #endif
2359 2359
2360 // A dictionary which stores whether location access is enabled for the current 2360 // A dictionary which stores whether location access is enabled for the current
2361 // default search engine, if it is the Google search engine. 2361 // default search engine, if it is the Google search engine.
2362 const char kGoogleDSEGeolocationSetting[] = "google_dse_geolocation_setting"; 2362 const char kGoogleDSEGeolocationSetting[] = "google_dse_geolocation_setting";
2363 2363
2364 #if defined(OS_WIN) || defined(OS_LINUX)
Matt Giuca 2017/01/23 03:01:00 Again, don't qualify this for specific OSes.
constantina 2017/01/24 02:03:43 Done.
2365 // A dictionary of domains of Web Share Targets to their share_url_template
Matt Giuca 2017/01/23 03:00:59 Not really their url template... it maps to a dict
constantina 2017/01/24 02:03:43 Done.
2366 // found in their manifest.
2367 const char kWebShareVisitedTargets[] = "profile.web_share.visited_targets";
Matt Giuca 2017/01/23 03:00:58 Can we call this "registered_targets" instead of v
constantina 2017/01/24 02:03:43 If I change the pref name without changing the fun
Matt Giuca 2017/01/24 03:26:09 The problem is that it's really hard to change a p
constantina 2017/01/24 23:39:04 Done.
2368 #endif
2369
2364 } // namespace prefs 2370 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698