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

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

Issue 1155283003: Change AuthenticatingURLLoader to be a URLLoaderInterceptor (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Address review Created 5 years, 6 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 | « shell/BUILD.gn ('k') | shell/application_manager/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 SHELL_APPLICATION_MANAGER_APPLICATION_MANAGER_H_ 5 #ifndef SHELL_APPLICATION_MANAGER_APPLICATION_MANAGER_H_
6 #define SHELL_APPLICATION_MANAGER_APPLICATION_MANAGER_H_ 6 #define SHELL_APPLICATION_MANAGER_APPLICATION_MANAGER_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "base/memory/scoped_vector.h" 12 #include "base/memory/scoped_vector.h"
13 #include "base/memory/weak_ptr.h" 13 #include "base/memory/weak_ptr.h"
14 #include "mojo/public/cpp/bindings/interface_request.h" 14 #include "mojo/public/cpp/bindings/interface_request.h"
15 #include "mojo/public/interfaces/application/application.mojom.h" 15 #include "mojo/public/interfaces/application/application.mojom.h"
16 #include "mojo/public/interfaces/application/service_provider.mojom.h" 16 #include "mojo/public/interfaces/application/service_provider.mojom.h"
17 #include "mojo/services/authenticating_url_loader/public/interfaces/authenticati ng_url_loader_factory.mojom.h" 17 #include "mojo/services/network/public/interfaces/network_service.mojom.h"
18 #include "mojo/services/url_response_disk_cache/public/interfaces/url_response_d isk_cache.mojom.h" 18 #include "mojo/services/url_response_disk_cache/public/interfaces/url_response_d isk_cache.mojom.h"
19 #include "shell/application_manager/application_loader.h" 19 #include "shell/application_manager/application_loader.h"
20 #include "shell/application_manager/identity.h" 20 #include "shell/application_manager/identity.h"
21 #include "shell/application_manager/native_runner.h" 21 #include "shell/application_manager/native_runner.h"
22 #include "shell/native_application_support.h" 22 #include "shell/native_application_support.h"
23 #include "url/gurl.h" 23 #include "url/gurl.h"
24 24
25 namespace base { 25 namespace base {
26 class FilePath; 26 class FilePath;
27 class SequencedWorkerPool; 27 class SequencedWorkerPool;
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 scoped_ptr<NativeRunnerFactory> native_runner_factory_; 233 scoped_ptr<NativeRunnerFactory> native_runner_factory_;
234 234
235 IdentityToShellImplMap identity_to_shell_impl_; 235 IdentityToShellImplMap identity_to_shell_impl_;
236 URLToContentHandlerMap url_to_content_handler_; 236 URLToContentHandlerMap url_to_content_handler_;
237 URLToArgsMap url_to_args_; 237 URLToArgsMap url_to_args_;
238 // Note: The keys are URLs after mapping and resolving. 238 // Note: The keys are URLs after mapping and resolving.
239 URLToNativeOptionsMap url_to_native_options_; 239 URLToNativeOptionsMap url_to_native_options_;
240 240
241 base::SequencedWorkerPool* blocking_pool_; 241 base::SequencedWorkerPool* blocking_pool_;
242 mojo::URLResponseDiskCachePtr url_response_disk_cache_; 242 mojo::URLResponseDiskCachePtr url_response_disk_cache_;
243 mojo::AuthenticatingURLLoaderFactoryPtr url_loader_factory_; 243 mojo::NetworkServicePtr network_service_;
244 MimeTypeToURLMap mime_type_to_url_; 244 MimeTypeToURLMap mime_type_to_url_;
245 ScopedVector<NativeRunner> native_runners_; 245 ScopedVector<NativeRunner> native_runners_;
246 bool initialized_authentication_service_; 246 bool initialized_authentication_interceptor_;
247 base::WeakPtrFactory<ApplicationManager> weak_ptr_factory_; 247 base::WeakPtrFactory<ApplicationManager> weak_ptr_factory_;
248 248
249 DISALLOW_COPY_AND_ASSIGN(ApplicationManager); 249 DISALLOW_COPY_AND_ASSIGN(ApplicationManager);
250 }; 250 };
251 251
252 } // namespace shell 252 } // namespace shell
253 253
254 #endif // SHELL_APPLICATION_MANAGER_APPLICATION_MANAGER_H_ 254 #endif // SHELL_APPLICATION_MANAGER_APPLICATION_MANAGER_H_
OLDNEW
« no previous file with comments | « shell/BUILD.gn ('k') | shell/application_manager/application_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698