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

Side by Side Diff: chrome/browser/media/router/media_sink_service.h

Issue 2771413003: Move c/b/media/router/mojo/*.mojom to chrome/common/media_router/mojo/*.mojom (Closed)
Patch Set: Rebase Created 3 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 unified diff | Download patch
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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 #ifndef CHROME_BROWSER_MEDIA_ROUTER_MEDIA_SINK_SERVICE_H_ 5 #ifndef CHROME_BROWSER_MEDIA_ROUTER_MEDIA_SINK_SERVICE_H_
6 #define CHROME_BROWSER_MEDIA_ROUTER_MEDIA_SINK_SERVICE_H_ 6 #define CHROME_BROWSER_MEDIA_ROUTER_MEDIA_SINK_SERVICE_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/callback.h" 11 #include "base/callback.h"
12 #include "chrome/browser/media/router/media_sink.h" 12 #include "chrome/common/media_router/media_sink.h"
13 13
14 namespace media_router { 14 namespace media_router {
15 15
16 class MediaSinksObserver; 16 class MediaSinksObserver;
17 17
18 // A service which can be used to start background discovery and resolution of 18 // A service which can be used to start background discovery and resolution of
19 // MediaSinks. Often these are remote devices, like Chromecast. In addition, the 19 // MediaSinks. Often these are remote devices, like Chromecast. In addition, the
20 // service is capable of answering MediaSink queries using the sinks that it 20 // service is capable of answering MediaSink queries using the sinks that it
21 // generated. 21 // generated.
22 // This class is not thread safe. All methods must be called from the IO thread. 22 // This class is not thread safe. All methods must be called from the IO thread.
(...skipping 26 matching lines...) Expand all
49 49
50 protected: 50 protected:
51 OnSinksDiscoveredCallback sinks_discovered_callback_; 51 OnSinksDiscoveredCallback sinks_discovered_callback_;
52 52
53 DISALLOW_COPY_AND_ASSIGN(MediaSinkService); 53 DISALLOW_COPY_AND_ASSIGN(MediaSinkService);
54 }; 54 };
55 55
56 } // namespace media_router 56 } // namespace media_router
57 57
58 #endif // CHROME_BROWSER_MEDIA_ROUTER_MEDIA_SINK_SERVICE_H_ 58 #endif // CHROME_BROWSER_MEDIA_ROUTER_MEDIA_SINK_SERVICE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698