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

Side by Side Diff: mojo/shell/identity.h

Issue 1706063002: Eliminate ShellClientFactoryConnection & just have the ApplicationManager do it. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@factory
Patch Set: . Created 4 years, 10 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/identity.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 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 MOJO_SHELL_IDENTITY_H_ 5 #ifndef MOJO_SHELL_IDENTITY_H_
6 #define MOJO_SHELL_IDENTITY_H_ 6 #define MOJO_SHELL_IDENTITY_H_
7 7
8 #include "mojo/shell/capability_filter.h" 8 #include "mojo/shell/capability_filter.h"
9 #include "url/gurl.h" 9 #include "url/gurl.h"
10 10
(...skipping 29 matching lines...) Expand all
40 std::string qualifier_; 40 std::string qualifier_;
41 41
42 // TODO(beng): CapabilityFilter is not currently included in equivalence 42 // TODO(beng): CapabilityFilter is not currently included in equivalence
43 // checks for Identity since we're not currently clear on the 43 // checks for Identity since we're not currently clear on the
44 // policy for instance disambiguation. Need to figure this out. 44 // policy for instance disambiguation. Need to figure this out.
45 // This field is supplied because it is logically part of the 45 // This field is supplied because it is logically part of the
46 // instance identity of an application. 46 // instance identity of an application.
47 CapabilityFilter filter_; 47 CapabilityFilter filter_;
48 }; 48 };
49 49
50 // Creates an identity for the Shell, used when the Shell connects to
51 // applications.
52 Identity CreateShellIdentity();
53
50 } // namespace shell 54 } // namespace shell
51 } // namespace mojo 55 } // namespace mojo
52 56
53 #endif // MOJO_SHELL_IDENTITY_H_ 57 #endif // MOJO_SHELL_IDENTITY_H_
OLDNEW
« no previous file with comments | « mojo/shell/connect_util.cc ('k') | mojo/shell/identity.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698