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

Side by Side Diff: components/mus/ws/user_id_tracker.cc

Issue 1764253002: Rename shell.mojom to connector.mojom, ApplicationManager to Shell (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@32exe
Patch Set: . Created 4 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 | « no previous file | components/resource_provider/public/cpp/resource_loader.cc » ('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 "components/mus/ws/user_id_tracker.h" 5 #include "components/mus/ws/user_id_tracker.h"
6 6
7 #include "components/mus/ws/user_id_tracker_observer.h" 7 #include "components/mus/ws/user_id_tracker_observer.h"
8 #include "mojo/shell/public/interfaces/shell.mojom.h" 8 #include "mojo/shell/public/interfaces/connector.mojom.h"
9 9
10 namespace mus { 10 namespace mus {
11 namespace ws { 11 namespace ws {
12 12
13 UserIdTracker::UserIdTracker() 13 UserIdTracker::UserIdTracker()
14 : active_id_(mojo::shell::mojom::Connector::kInvalidApplicationID) {} 14 : active_id_(mojo::shell::mojom::Connector::kInvalidApplicationID) {}
15 UserIdTracker::~UserIdTracker() { 15 UserIdTracker::~UserIdTracker() {
16 DCHECK(ids_.empty()); 16 DCHECK(ids_.empty());
17 } 17 }
18 18
(...skipping 25 matching lines...) Expand all
44 void UserIdTracker::AddObserver(UserIdTrackerObserver* observer) { 44 void UserIdTracker::AddObserver(UserIdTrackerObserver* observer) {
45 observers_.AddObserver(observer); 45 observers_.AddObserver(observer);
46 } 46 }
47 47
48 void UserIdTracker::RemoveObserver(UserIdTrackerObserver* observer) { 48 void UserIdTracker::RemoveObserver(UserIdTrackerObserver* observer) {
49 observers_.RemoveObserver(observer); 49 observers_.RemoveObserver(observer);
50 } 50 }
51 51
52 } // namespace ws 52 } // namespace ws
53 } // namespace mus 53 } // namespace mus
OLDNEW
« no previous file with comments | « no previous file | components/resource_provider/public/cpp/resource_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698