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

Side by Side Diff: mojo/shell/identity.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 | « mojo/shell/connect_util.cc ('k') | mojo/shell/loader.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 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 #include "mojo/shell/identity.h" 5 #include "mojo/shell/identity.h"
6 6
7 #include "mojo/shell/public/cpp/names.h" 7 #include "mojo/shell/public/cpp/names.h"
8 #include "mojo/shell/public/interfaces/shell.mojom.h" 8 #include "mojo/shell/public/interfaces/connector.mojom.h"
9 9
10 namespace mojo { 10 namespace mojo {
11 namespace shell { 11 namespace shell {
12 12
13 Identity::Identity() {} 13 Identity::Identity() {}
14 14
15 Identity::Identity(const std::string& name) 15 Identity::Identity(const std::string& name)
16 : Identity(name, GetNamePath(name), mojom::Connector::kUserRoot) {} 16 : Identity(name, GetNamePath(name), mojom::Connector::kUserRoot) {}
17 17
18 Identity::Identity(const std::string& name, const std::string& qualifier, 18 Identity::Identity(const std::string& name, const std::string& qualifier,
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 it = filter.find("*"); 69 it = filter.find("*");
70 if (filter.size() == 1 && it != filter.end()) 70 if (filter.size() == 1 && it != filter.end())
71 return it->second; 71 return it->second;
72 72
73 // Finally, nothing is allowed. 73 // Finally, nothing is allowed.
74 return AllowedInterfaces(); 74 return AllowedInterfaces();
75 } 75 }
76 76
77 } // namespace shell 77 } // namespace shell
78 } // namespace mojo 78 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/shell/connect_util.cc ('k') | mojo/shell/loader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698