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

Side by Side Diff: shell/android/background_application_loader.h

Issue 814273005: Move application_manager from /mojo to /shell. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Update include guards. Created 5 years, 11 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/android/android_handler_loader.h ('k') | shell/android/background_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 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_BACKGROUND_APPLICATION_LOADER_H_ 5 #ifndef SHELL_ANDROID_BACKGROUND_APPLICATION_LOADER_H_
6 #define SHELL_ANDROID_BACKGROUND_APPLICATION_LOADER_H_ 6 #define SHELL_ANDROID_BACKGROUND_APPLICATION_LOADER_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 "base/message_loop/message_loop.h" 10 #include "base/message_loop/message_loop.h"
11 #include "base/synchronization/waitable_event.h" 11 #include "base/synchronization/waitable_event.h"
12 #include "base/threading/simple_thread.h" 12 #include "base/threading/simple_thread.h"
13 #include "mojo/application_manager/application_loader.h" 13 #include "shell/application_manager/application_loader.h"
14 14
15 namespace mojo { 15 namespace mojo {
16 16
17 class MOJO_APPLICATION_MANAGER_EXPORT BackgroundApplicationLoader 17 class MOJO_APPLICATION_MANAGER_EXPORT BackgroundApplicationLoader
18 : public ApplicationLoader, 18 : public ApplicationLoader,
19 public base::DelegateSimpleThread::Delegate { 19 public base::DelegateSimpleThread::Delegate {
20 public: 20 public:
21 BackgroundApplicationLoader(scoped_ptr<ApplicationLoader> real_loader, 21 BackgroundApplicationLoader(scoped_ptr<ApplicationLoader> real_loader,
22 const std::string& thread_name, 22 const std::string& thread_name,
23 base::MessageLoop::Type message_loop_type); 23 base::MessageLoop::Type message_loop_type);
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 base::Closure quit_closure_; 61 base::Closure quit_closure_;
62 62
63 scoped_ptr<base::DelegateSimpleThread> thread_; 63 scoped_ptr<base::DelegateSimpleThread> thread_;
64 64
65 DISALLOW_COPY_AND_ASSIGN(BackgroundApplicationLoader); 65 DISALLOW_COPY_AND_ASSIGN(BackgroundApplicationLoader);
66 }; 66 };
67 67
68 } // namespace mojo 68 } // namespace mojo
69 69
70 #endif // SHELL_ANDROID_BACKGROUND_APPLICATION_LOADER_H_ 70 #endif // SHELL_ANDROID_BACKGROUND_APPLICATION_LOADER_H_
OLDNEW
« no previous file with comments | « shell/android/android_handler_loader.h ('k') | shell/android/background_application_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698