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

Side by Side Diff: mojo/loader/job.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/DEPS ('k') | mojo/loader/job.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_JOB_H_
6 #define MOJO_LOADER_JOB_H_
7
8 #include "url/gurl.h"
9
10 namespace base {
11 class FilePath;
12 }
13
14 namespace mojo {
15 namespace loader {
16
17 // A job represents an individual network load operation.
18 class Job {
19 public:
20 class Delegate {
21 public:
22 virtual void DidCompleteLoad(const GURL& app_url,
23 const base::FilePath& app_path) = 0;
24
25 protected:
26 virtual ~Delegate();
27 };
28
29 // You can cancel a job by deleting it.
30 virtual ~Job();
31
32 protected:
33 // You can create a job using Loader.
34 Job();
35
36 DISALLOW_COPY_AND_ASSIGN(Job);
37 };
38
39 } // namespace loader
40 } // namespace mojo
41
42 #endif // MOJO_LOADER_JOB_H_
OLDNEW
« no previous file with comments | « mojo/loader/DEPS ('k') | mojo/loader/job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698