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

Side by Side Diff: shell/in_process_native_runner.h

Issue 1378303005: Do some plumbing. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: review Created 5 years, 2 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/context.cc ('k') | shell/in_process_native_runner.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_IN_PROCESS_NATIVE_RUNNER_H_ 5 #ifndef SHELL_IN_PROCESS_NATIVE_RUNNER_H_
6 #define SHELL_IN_PROCESS_NATIVE_RUNNER_H_ 6 #define SHELL_IN_PROCESS_NATIVE_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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 scoped_ptr<base::DelegateSimpleThread> thread_; 43 scoped_ptr<base::DelegateSimpleThread> thread_;
44 44
45 DISALLOW_COPY_AND_ASSIGN(InProcessNativeRunner); 45 DISALLOW_COPY_AND_ASSIGN(InProcessNativeRunner);
46 }; 46 };
47 47
48 class InProcessNativeRunnerFactory : public NativeRunnerFactory { 48 class InProcessNativeRunnerFactory : public NativeRunnerFactory {
49 public: 49 public:
50 explicit InProcessNativeRunnerFactory(Context* context) : context_(context) {} 50 explicit InProcessNativeRunnerFactory(Context* context) : context_(context) {}
51 ~InProcessNativeRunnerFactory() override {} 51 ~InProcessNativeRunnerFactory() override {}
52 52
53 scoped_ptr<NativeRunner> Create(const Options& options) override; 53 scoped_ptr<NativeRunner> Create(
54 const NativeApplicationOptions& options) override;
54 55
55 private: 56 private:
56 Context* const context_; 57 Context* const context_;
57 58
58 DISALLOW_COPY_AND_ASSIGN(InProcessNativeRunnerFactory); 59 DISALLOW_COPY_AND_ASSIGN(InProcessNativeRunnerFactory);
59 }; 60 };
60 61
61 } // namespace shell 62 } // namespace shell
62 63
63 #endif // SHELL_IN_PROCESS_NATIVE_RUNNER_H_ 64 #endif // SHELL_IN_PROCESS_NATIVE_RUNNER_H_
OLDNEW
« no previous file with comments | « shell/context.cc ('k') | shell/in_process_native_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698