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

Side by Side Diff: mojo/runner/context.h

Issue 1225673006: Revert of mandoline filesystem: Save cookie data to the mojo:filesystem. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@sqlite-fs
Patch Set: Created 5 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
« no previous file with comments | « mojo/runner/child_process_host.cc ('k') | mojo/runner/scoped_user_data_dir.h » ('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 2013 The Chromium Authors. All rights reserved. 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 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_RUNNER_CONTEXT_H_ 5 #ifndef MOJO_RUNNER_CONTEXT_H_
6 #define MOJO_RUNNER_CONTEXT_H_ 6 #define MOJO_RUNNER_CONTEXT_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "mojo/edk/embedder/process_delegate.h" 11 #include "mojo/edk/embedder/process_delegate.h"
12 #include "mojo/runner/scoped_user_data_dir.h"
13 #include "mojo/runner/task_runners.h" 12 #include "mojo/runner/task_runners.h"
14 #include "mojo/runner/url_resolver.h" 13 #include "mojo/runner/url_resolver.h"
15 #include "mojo/shell/application_manager.h" 14 #include "mojo/shell/application_manager.h"
16 15
17 namespace mojo { 16 namespace mojo {
18 namespace runner { 17 namespace runner {
19 18
20 class NativeApplicationLoader; 19 class NativeApplicationLoader;
21 20
22 // The "global" context for the shell's main process. 21 // The "global" context for the shell's main process.
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 GURL ResolveMojoURL(const GURL& url) override; 72 GURL ResolveMojoURL(const GURL& url) override;
74 bool CreateFetcher( 73 bool CreateFetcher(
75 const GURL& url, 74 const GURL& url,
76 const shell::Fetcher::FetchCallback& loader_callback) override; 75 const shell::Fetcher::FetchCallback& loader_callback) override;
77 76
78 // ProcessDelegate implementation. 77 // ProcessDelegate implementation.
79 void OnShutdownComplete() override; 78 void OnShutdownComplete() override;
80 79
81 void OnApplicationEnd(const GURL& url); 80 void OnApplicationEnd(const GURL& url);
82 81
83 ScopedUserDataDir scoped_user_data_dir;
84 std::set<GURL> app_urls_; 82 std::set<GURL> app_urls_;
85 scoped_ptr<TaskRunners> task_runners_; 83 scoped_ptr<TaskRunners> task_runners_;
86 shell::ApplicationManager application_manager_; 84 shell::ApplicationManager application_manager_;
87 URLResolver url_resolver_; 85 URLResolver url_resolver_;
88 GURL shell_file_root_; 86 GURL shell_file_root_;
89 GURL command_line_cwd_; 87 GURL command_line_cwd_;
90 88
91 DISALLOW_COPY_AND_ASSIGN(Context); 89 DISALLOW_COPY_AND_ASSIGN(Context);
92 }; 90 };
93 91
94 } // namespace runner 92 } // namespace runner
95 } // namespace mojo 93 } // namespace mojo
96 94
97 #endif // MOJO_RUNNER_CONTEXT_H_ 95 #endif // MOJO_RUNNER_CONTEXT_H_
OLDNEW
« no previous file with comments | « mojo/runner/child_process_host.cc ('k') | mojo/runner/scoped_user_data_dir.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698