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

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

Issue 414173004: mojo: fix little bug in DynamicServiceLoader/Runner (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: oopsies Created 6 years, 5 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 | Annotate | Revision Log
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 MOJO_SHELL_IN_PROCESS_DYNAMIC_SERVICE_RUNNER_H_ 5 #ifndef MOJO_SHELL_IN_PROCESS_DYNAMIC_SERVICE_RUNNER_H_
6 #define MOJO_SHELL_IN_PROCESS_DYNAMIC_SERVICE_RUNNER_H_ 6 #define MOJO_SHELL_IN_PROCESS_DYNAMIC_SERVICE_RUNNER_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/files/file_path.h" 9 #include "base/files/file_path.h"
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 22 matching lines...) Expand all
33 private: 33 private:
34 // |base::DelegateSimpleThread::Delegate| method: 34 // |base::DelegateSimpleThread::Delegate| method:
35 virtual void Run() OVERRIDE; 35 virtual void Run() OVERRIDE;
36 36
37 KeepAlive keep_alive_; 37 KeepAlive keep_alive_;
38 base::FilePath app_path_; 38 base::FilePath app_path_;
39 ScopedMessagePipeHandle service_handle_; 39 ScopedMessagePipeHandle service_handle_;
40 base::Callback<bool(void)> app_completed_callback_runner_; 40 base::Callback<bool(void)> app_completed_callback_runner_;
41 41
42 base::ScopedNativeLibrary app_library_; 42 base::ScopedNativeLibrary app_library_;
43 base::DelegateSimpleThread thread_; 43 scoped_ptr<base::DelegateSimpleThread> thread_;
44 44
45 DISALLOW_COPY_AND_ASSIGN(InProcessDynamicServiceRunner); 45 DISALLOW_COPY_AND_ASSIGN(InProcessDynamicServiceRunner);
46 }; 46 };
47 47
48 typedef DynamicServiceRunnerFactoryImpl<InProcessDynamicServiceRunner> 48 typedef DynamicServiceRunnerFactoryImpl<InProcessDynamicServiceRunner>
49 InProcessDynamicServiceRunnerFactory; 49 InProcessDynamicServiceRunnerFactory;
50 50
51 } // namespace shell 51 } // namespace shell
52 } // namespace mojo 52 } // namespace mojo
53 53
54 #endif // MOJO_SHELL_IN_PROCESS_DYNAMIC_SERVICE_RUNNER_H_ 54 #endif // MOJO_SHELL_IN_PROCESS_DYNAMIC_SERVICE_RUNNER_H_
OLDNEW
« no previous file with comments | « mojo/shell/dynamic_service_loader_unittest.cc ('k') | mojo/shell/in_process_dynamic_service_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698