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

Side by Side Diff: chrome/browser/media/router/media_router_ui_service.cc

Issue 2294973002: Create MediaRouterActionController and MediaRouterUIService (Closed)
Patch Set: Modify BUILD.gn files, rebase Created 4 years, 3 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
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "chrome/browser/media/router/media_router_ui_service.h"
6
7 #include "chrome/browser/media/router/media_router_feature.h"
8 #include "chrome/browser/media/router/media_router_ui_service_factory.h"
9 #include "chrome/browser/profiles/profile.h"
10
11 namespace media_router {
12
13 MediaRouterUIService::MediaRouterUIService(Profile* profile)
14 : action_controller_(profile) {
15 DCHECK(media_router::MediaRouterEnabled(profile));
16 }
17
18 MediaRouterUIService::~MediaRouterUIService() {}
19
20 // static
21 MediaRouterUIService* MediaRouterUIService::Get(Profile* profile) {
22 return MediaRouterUIServiceFactory::GetForBrowserContext(profile);
23 }
24
25 } // namespace media_router
OLDNEW
« no previous file with comments | « chrome/browser/media/router/media_router_ui_service.h ('k') | chrome/browser/media/router/media_router_ui_service_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698