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

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

Issue 27536014: Teach mojo_shell how to load data URLs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | Annotate | Revision Log
« no previous file with comments | « mojo/loader/DEPS ('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 (c) 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 "url/gurl.h"
9
10 namespace mojo {
11 namespace loader {
12
13 class Loader {
14 public:
15 class Delegate {
16 public:
17 virtual void DidCompleteLoad(const GURL& app_url) = 0;
18
19 protected:
20 virtual ~Delegate();
21 };
22
23 Loader();
24 ~Loader();
25
26 void Load(const GURL& app_url, Delegate* delegate);
27
28 private:
29 class Data;
30
31 scoped_ptr<Data> data_;
32
33 DISALLOW_COPY_AND_ASSIGN(Loader);
34 };
35
36 } // namespace loader
37 } // namespace mojo
38
39 #endif // MOJO_LOADER_LOADER_H_
OLDNEW
« no previous file with comments | « mojo/loader/DEPS ('k') | mojo/loader/loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698