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

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

Issue 972433004: Use the mojo::shell namespace consistently underly shell/. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Java! Created 5 years, 9 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/application_manager/shell_impl.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 SHELL_APPLICATION_MANAGER_SHELL_IMPL_H_ 5 #ifndef SHELL_APPLICATION_MANAGER_SHELL_IMPL_H_
6 #define SHELL_APPLICATION_MANAGER_SHELL_IMPL_H_ 6 #define SHELL_APPLICATION_MANAGER_SHELL_IMPL_H_
7 7
8 #include "mojo/public/cpp/bindings/binding.h" 8 #include "mojo/public/cpp/bindings/binding.h"
9 #include "mojo/public/cpp/bindings/error_handler.h" 9 #include "mojo/public/cpp/bindings/error_handler.h"
10 #include "mojo/public/interfaces/application/application.mojom.h" 10 #include "mojo/public/interfaces/application/application.mojom.h"
11 #include "mojo/public/interfaces/application/shell.mojom.h" 11 #include "mojo/public/interfaces/application/shell.mojom.h"
12 #include "url/gurl.h" 12 #include "url/gurl.h"
13 13
14 namespace mojo { 14 namespace mojo {
15 namespace shell {
16
15 class ApplicationManager; 17 class ApplicationManager;
16 18
17 class ShellImpl : public Shell, public ErrorHandler { 19 class ShellImpl : public Shell, public ErrorHandler {
18 public: 20 public:
19 ShellImpl(ApplicationPtr application, 21 ShellImpl(ApplicationPtr application,
20 ApplicationManager* manager, 22 ApplicationManager* manager,
21 // The original URL that was first requested, before any resolution. 23 // The original URL that was first requested, before any resolution.
22 const GURL& original_url, 24 const GURL& original_url,
23 const GURL& resolved_url); 25 const GURL& resolved_url);
24 26
(...skipping 21 matching lines...) Expand all
46 48
47 ApplicationManager* const manager_; 49 ApplicationManager* const manager_;
48 const GURL requested_url_; 50 const GURL requested_url_;
49 const GURL url_; 51 const GURL url_;
50 ApplicationPtr application_; 52 ApplicationPtr application_;
51 Binding<Shell> binding_; 53 Binding<Shell> binding_;
52 54
53 DISALLOW_COPY_AND_ASSIGN(ShellImpl); 55 DISALLOW_COPY_AND_ASSIGN(ShellImpl);
54 }; 56 };
55 57
58 } // namespace shell
56 } // namespace mojo 59 } // namespace mojo
57 60
58 #endif // SHELL_APPLICATION_MANAGER_SHELL_IMPL_H_ 61 #endif // SHELL_APPLICATION_MANAGER_SHELL_IMPL_H_
OLDNEW
« no previous file with comments | « shell/application_manager/network_fetcher.cc ('k') | shell/application_manager/shell_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698