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

Side by Side Diff: shell/android/ui_application_loader_android.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
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_ANDROID_UI_APPLICATION_LOADER_ANDROID_H_ 5 #ifndef SHELL_ANDROID_UI_APPLICATION_LOADER_ANDROID_H_
6 #define SHELL_ANDROID_UI_APPLICATION_LOADER_ANDROID_H_ 6 #define SHELL_ANDROID_UI_APPLICATION_LOADER_ANDROID_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "shell/application_manager/application_loader.h" 10 #include "shell/application_manager/application_loader.h"
11 11
12 namespace base { 12 namespace base {
13 class MessageLoop; 13 class MessageLoop;
14 } 14 }
15 15
16 namespace mojo { 16 namespace mojo {
17 namespace shell {
17 18
18 class ApplicationManager; 19 class ApplicationManager;
19 20
20 // ApplicationLoader implementation that creates a background thread and issues 21 // ApplicationLoader implementation that creates a background thread and issues
21 // load 22 // load
22 // requests there. 23 // requests there.
23 class UIApplicationLoader : public ApplicationLoader { 24 class UIApplicationLoader : public ApplicationLoader {
24 public: 25 public:
25 UIApplicationLoader(scoped_ptr<ApplicationLoader> real_loader, 26 UIApplicationLoader(scoped_ptr<ApplicationLoader> real_loader,
26 base::MessageLoop* ui_message_loop); 27 base::MessageLoop* ui_message_loop);
(...skipping 13 matching lines...) Expand all
40 void LoadOnUIThread(const GURL& url, 41 void LoadOnUIThread(const GURL& url,
41 InterfaceRequest<Application> application_request); 42 InterfaceRequest<Application> application_request);
42 void ShutdownOnUIThread(); 43 void ShutdownOnUIThread();
43 44
44 scoped_ptr<ApplicationLoader> loader_; 45 scoped_ptr<ApplicationLoader> loader_;
45 base::MessageLoop* ui_message_loop_; 46 base::MessageLoop* ui_message_loop_;
46 47
47 DISALLOW_COPY_AND_ASSIGN(UIApplicationLoader); 48 DISALLOW_COPY_AND_ASSIGN(UIApplicationLoader);
48 }; 49 };
49 50
51 } // namespace shell
50 } // namespace mojo 52 } // namespace mojo
51 53
52 #endif // SHELL_ANDROID_UI_APPLICATION_LOADER_ANDROID_H_ 54 #endif // SHELL_ANDROID_UI_APPLICATION_LOADER_ANDROID_H_
OLDNEW
« no previous file with comments | « shell/android/run_android_application_function.h ('k') | shell/android/ui_application_loader_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698