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

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

Issue 1679573002: Move shell interfaces into the shell.mojom namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@delegate
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/shell_application_delegate.cc ('k') | mojo/shell/shell_application_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
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_SHELL_APPLICATION_LOADER_H_ 5 #ifndef MOJO_SHELL_SHELL_APPLICATION_LOADER_H_
6 #define MOJO_SHELL_SHELL_APPLICATION_LOADER_H_ 6 #define MOJO_SHELL_SHELL_APPLICATION_LOADER_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "mojo/shell/application_loader.h" 9 #include "mojo/shell/application_loader.h"
10 10
11 namespace mojo { 11 namespace mojo {
12 class ApplicationImpl; 12 class ApplicationImpl;
13 namespace shell { 13 namespace shell {
14 14
15 class ShellApplicationLoader : public ApplicationLoader { 15 class ShellApplicationLoader : public ApplicationLoader {
16 public: 16 public:
17 explicit ShellApplicationLoader(ApplicationManager* manager); 17 explicit ShellApplicationLoader(ApplicationManager* manager);
18 ~ShellApplicationLoader() override; 18 ~ShellApplicationLoader() override;
19 19
20 private: 20 private:
21 // Overridden from ApplicationLoader: 21 // Overridden from ApplicationLoader:
22 void Load( 22 void Load(
23 const GURL& url, 23 const GURL& url,
24 InterfaceRequest<Application> application_request) override; 24 InterfaceRequest<mojom::Application> application_request) override;
25 25
26 scoped_ptr<ApplicationImpl> app_; 26 scoped_ptr<ApplicationImpl> app_;
27 27
28 ApplicationManager* manager_; 28 ApplicationManager* manager_;
29 29
30 DISALLOW_COPY_AND_ASSIGN(ShellApplicationLoader); 30 DISALLOW_COPY_AND_ASSIGN(ShellApplicationLoader);
31 }; 31 };
32 32
33 } // namespace shell 33 } // namespace shell
34 } // namespace mojo 34 } // namespace mojo
35 35
36 #endif // MOJO_SHELL_SHELL_APPLICATION_LOADER_H_ 36 #endif // MOJO_SHELL_SHELL_APPLICATION_LOADER_H_
OLDNEW
« no previous file with comments | « mojo/shell/shell_application_delegate.cc ('k') | mojo/shell/shell_application_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698