 Chromium Code Reviews
 Chromium Code Reviews Issue 2639463002:
  Add a pref name for share targets, and store their manifest data.  (Closed)
    
  
    Issue 2639463002:
  Add a pref name for share targets, and store their manifest data.  (Closed) 
  | Index: chrome/common/pref_names.cc | 
| diff --git a/chrome/common/pref_names.cc b/chrome/common/pref_names.cc | 
| index e60041cf1c90fc30f637ab0ecf5732ac6ed2f777..d11be3c565fc00f9999b7a56330ada39e7512d29 100644 | 
| --- a/chrome/common/pref_names.cc | 
| +++ b/chrome/common/pref_names.cc | 
| @@ -2361,4 +2361,10 @@ const char kSearchGeolocationPostDisclosureMetricsRecorded[] = | 
| // default search engine, if it is the Google search engine. | 
| const char kGoogleDSEGeolocationSetting[] = "google_dse_geolocation_setting"; | 
| +#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.
 | 
| +// 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.
 | 
| +// found in their manifest. | 
| +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.
 | 
| +#endif | 
| + | 
| } // namespace prefs |