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

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

Issue 2112673002: Removing references to Off the Record from MediaRouter (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More refactoring on rebased code Created 4 years, 5 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_ROUTER_BASE_H_ 5 #ifndef CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTER_BASE_H_
6 #define CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTER_BASE_H_ 6 #define CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTER_BASE_H_
7 7
8 #include <set> 8 #include <set>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 10 matching lines...) Expand all
21 class MediaRouterBase : public MediaRouter { 21 class MediaRouterBase : public MediaRouter {
22 public: 22 public:
23 ~MediaRouterBase() override; 23 ~MediaRouterBase() override;
24 24
25 std::unique_ptr<PresentationConnectionStateSubscription> 25 std::unique_ptr<PresentationConnectionStateSubscription>
26 AddPresentationConnectionStateChangedCallback( 26 AddPresentationConnectionStateChangedCallback(
27 const MediaRoute::Id& route_id, 27 const MediaRoute::Id& route_id,
28 const content::PresentationConnectionStateChangedCallback& callback) 28 const content::PresentationConnectionStateChangedCallback& callback)
29 override; 29 override;
30 30
31 // Called when the off the record (incognito) profile for this instance is 31 // Called when the incognito profile for this instance is being shut down.
32 // being shut down. This will terminate all off the record media routes. 32 // This will terminate all incognito media routes.
33 void OnOffTheRecordProfileShutdown() override; 33 void OnIncognitoProfileShutdown() override;
34 34
35 protected: 35 protected:
36 FRIEND_TEST_ALL_PREFIXES(MediaRouterMojoImplTest, 36 FRIEND_TEST_ALL_PREFIXES(MediaRouterMojoImplTest,
37 PresentationConnectionStateChangedCallback); 37 PresentationConnectionStateChangedCallback);
38 FRIEND_TEST_ALL_PREFIXES(MediaRouterMojoImplTest, 38 FRIEND_TEST_ALL_PREFIXES(MediaRouterMojoImplTest,
39 PresentationConnectionStateChangedCallbackRemoved); 39 PresentationConnectionStateChangedCallbackRemoved);
40 40
41 MediaRouterBase(); 41 MediaRouterBase();
42 42
43 // Generates a unique presentation id. Shared between Android and desktop. 43 // Generates a unique presentation id. Shared between Android and desktop.
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 82
83 std::unique_ptr<InternalMediaRoutesObserver> internal_routes_observer_; 83 std::unique_ptr<InternalMediaRoutesObserver> internal_routes_observer_;
84 bool initialized_; 84 bool initialized_;
85 85
86 DISALLOW_COPY_AND_ASSIGN(MediaRouterBase); 86 DISALLOW_COPY_AND_ASSIGN(MediaRouterBase);
87 }; 87 };
88 88
89 } // namespace media_router 89 } // namespace media_router
90 90
91 #endif // CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTER_BASE_H_ 91 #endif // CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTER_BASE_H_
OLDNEW
« no previous file with comments | « chrome/browser/media/router/media_router.h ('k') | chrome/browser/media/router/media_router_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698