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

Side by Side Diff: shell/authenticating_url_loader_loader.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/application_manager/network_fetcher.cc ('k') | shell/authenticating_url_loader_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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef SHELL_AUTHENTICATING_URL_LOADER_LOADER_H_
6 #define SHELL_AUTHENTICATING_URL_LOADER_LOADER_H_
7
8 #include "base/macros.h"
9 #include "base/memory/scoped_ptr.h"
10 #include "mojo/public/cpp/application/application_impl.h"
11 #include "services/authenticating_url_loader/authenticating_url_loader_app.h"
12 #include "shell/application_manager/application_loader.h"
13
14 namespace shell {
15
16 class AuthenticatingURLLoaderLoader : public ApplicationLoader {
17 public:
18 AuthenticatingURLLoaderLoader();
19 ~AuthenticatingURLLoaderLoader() override;
20
21 private:
22 // ApplicationLoader overrides:
23 void Load(
24 const GURL& url,
25 mojo::InterfaceRequest<mojo::Application> application_request) override;
26
27 mojo::AuthenticatingURLLoaderApp authenticating_url_loader_;
28 scoped_ptr<mojo::ApplicationImpl> application_;
29
30 DISALLOW_COPY_AND_ASSIGN(AuthenticatingURLLoaderLoader);
31 };
32
33 } // namespace shell
34
35 #endif // SHELL_AUTHENTICATING_URL_LOADER_LOADER_H_
OLDNEW
« no previous file with comments | « shell/application_manager/network_fetcher.cc ('k') | shell/authenticating_url_loader_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698