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

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

Issue 1351443004: Revert of Make CapabilityFilter be part of Identity (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
« no previous file with comments | « mojo/shell/application_instance.cc ('k') | mojo/shell/application_manager.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_APPLICATION_MANAGER_H_ 5 #ifndef MOJO_SHELL_APPLICATION_MANAGER_H_
6 #define MOJO_SHELL_APPLICATION_MANAGER_H_ 6 #define MOJO_SHELL_APPLICATION_MANAGER_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 void HandleFetchCallback(scoped_ptr<ConnectToApplicationParams> params, 110 void HandleFetchCallback(scoped_ptr<ConnectToApplicationParams> params,
111 scoped_ptr<Fetcher> fetcher); 111 scoped_ptr<Fetcher> fetcher);
112 112
113 void RunNativeApplication(InterfaceRequest<Application> application_request, 113 void RunNativeApplication(InterfaceRequest<Application> application_request,
114 bool start_sandboxed, 114 bool start_sandboxed,
115 scoped_ptr<Fetcher> fetcher, 115 scoped_ptr<Fetcher> fetcher,
116 const base::FilePath& file_path, 116 const base::FilePath& file_path,
117 bool path_exists); 117 bool path_exists);
118 118
119 void LoadWithContentHandler( 119 void LoadWithContentHandler(
120 const Identity& source, 120 const Identity& originator_identity,
121 const Identity& content_handler, 121 const CapabilityFilter& originator_filter,
122 const GURL& content_handler_url,
123 const std::string& qualifier,
124 const CapabilityFilter& filter,
122 const Shell::ConnectToApplicationCallback& connect_callback, 125 const Shell::ConnectToApplicationCallback& connect_callback,
123 ApplicationInstance* app, 126 ApplicationInstance* app,
124 InterfaceRequest<Application> application_request, 127 InterfaceRequest<Application> application_request,
125 URLResponsePtr url_response); 128 URLResponsePtr url_response);
126 129
127 // Returns the appropriate loader for |url|, or the default loader if there is 130 // Returns the appropriate loader for |url|, or the default loader if there is
128 // no loader configured for the URL. 131 // no loader configured for the URL.
129 ApplicationLoader* GetLoaderForURL(const GURL& url); 132 ApplicationLoader* GetLoaderForURL(const GURL& url);
130 133
131 void CleanupRunner(NativeRunner* runner); 134 void CleanupRunner(NativeRunner* runner);
(...skipping 16 matching lines...) Expand all
148 151
149 DISALLOW_COPY_AND_ASSIGN(ApplicationManager); 152 DISALLOW_COPY_AND_ASSIGN(ApplicationManager);
150 }; 153 };
151 154
152 Shell::ConnectToApplicationCallback EmptyConnectCallback(); 155 Shell::ConnectToApplicationCallback EmptyConnectCallback();
153 156
154 } // namespace shell 157 } // namespace shell
155 } // namespace mojo 158 } // namespace mojo
156 159
157 #endif // MOJO_SHELL_APPLICATION_MANAGER_H_ 160 #endif // MOJO_SHELL_APPLICATION_MANAGER_H_
OLDNEW
« no previous file with comments | « mojo/shell/application_instance.cc ('k') | mojo/shell/application_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698