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

Side by Side Diff: mojo/loader/loader.h

Issue 47433002: Cleanup mojo_shell and sample_app a bit (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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
« no previous file with comments | « mojo/loader/job.cc ('k') | mojo/loader/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
(Empty)
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef MOJO_LOADER_LOADER_H_
6 #define MOJO_LOADER_LOADER_H_
7
8 #include "base/files/file_path.h"
9 #include "base/memory/scoped_ptr.h"
10 #include "base/single_thread_task_runner.h"
11 #include "mojo/loader/job.h"
12 #include "url/gurl.h"
13
14 namespace mojo {
15 namespace loader {
16
17 class Loader {
18 public:
19 Loader(base::SingleThreadTaskRunner* network_runner,
20 base::SingleThreadTaskRunner* file_runner,
21 base::FilePath base_path);
22 ~Loader();
23
24 scoped_ptr<Job> Load(const GURL& app_url, Job::Delegate* delegate);
25
26 private:
27 class Data;
28
29 scoped_ptr<Data> data_;
30
31 DISALLOW_COPY_AND_ASSIGN(Loader);
32 };
33
34 } // namespace loader
35 } // namespace mojo
36
37 #endif // MOJO_LOADER_LOADER_H_
OLDNEW
« no previous file with comments | « mojo/loader/job.cc ('k') | mojo/loader/loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698