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

Side by Side Diff: ash/common/media_controller.cc

Issue 2734733002: Revert "chromeos: Move files in //ash/common to //ash, part 3" (Closed)
Patch Set: 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 unified diff | Download patch
« no previous file with comments | « ash/common/media_controller.h ('k') | ash/common/mojo_interface_factory.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 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 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 #include "ash/media_controller.h" 5 #include "ash/common/media_controller.h"
6 6
7 namespace ash { 7 namespace ash {
8 8
9 MediaController::MediaController() {} 9 MediaController::MediaController() {}
10 10
11 MediaController::~MediaController() {} 11 MediaController::~MediaController() {}
12 12
13 void MediaController::BindRequest(mojom::MediaControllerRequest request) { 13 void MediaController::BindRequest(mojom::MediaControllerRequest request) {
14 bindings_.AddBinding(this, std::move(request)); 14 bindings_.AddBinding(this, std::move(request));
15 } 15 }
(...skipping 30 matching lines...) Expand all
46 client_.Bind(std::move(client)); 46 client_.Bind(std::move(client));
47 } 47 }
48 48
49 void MediaController::NotifyCaptureState( 49 void MediaController::NotifyCaptureState(
50 const std::vector<mojom::MediaCaptureState>& capture_states) { 50 const std::vector<mojom::MediaCaptureState>& capture_states) {
51 for (auto& observer : observers_) 51 for (auto& observer : observers_)
52 observer.OnMediaCaptureChanged(capture_states); 52 observer.OnMediaCaptureChanged(capture_states);
53 } 53 }
54 54
55 } // namespace ash 55 } // namespace ash
OLDNEW
« no previous file with comments | « ash/common/media_controller.h ('k') | ash/common/mojo_interface_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698