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

Unified Diff: chrome/browser/extensions/api/dial/dial_api.h

Issue 2754703005: [Device Discovery] Make DialRegistry a Singleton (Closed)
Patch Set: fix mac and windows compile errors Created 3 years, 9 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 | « no previous file | chrome/browser/extensions/api/dial/dial_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/dial/dial_api.h
diff --git a/chrome/browser/extensions/api/dial/dial_api.h b/chrome/browser/extensions/api/dial/dial_api.h
index 7ee0d14e3ee811eeac88313aadc7c46fb2f4cd27..e9fb6ccd1a04125ee1b36f8037c303b56f1c220c 100644
--- a/chrome/browser/extensions/api/dial/dial_api.h
+++ b/chrome/browser/extensions/api/dial/dial_api.h
@@ -92,8 +92,9 @@ class DialAPI : public RefcountedKeyedService,
Profile* profile_;
- // Created lazily on first access on the IO thread.
- std::unique_ptr<media_router::DialRegistry> dial_registry_;
+ // Created lazily on first access on the IO thread. Does not take ownership of
+ // |dial_registry_|.
+ media_router::DialRegistry* dial_registry_;
// Device data for testing.
std::unique_ptr<media_router::DialDeviceData> test_device_data_;
« no previous file with comments | « no previous file | chrome/browser/extensions/api/dial/dial_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698