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

Unified Diff: mojo/shell/storage.h

Issue 27943002: Teach mojo_shell how to load http URLs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add missing include 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/shell/shell.cc ('k') | mojo/shell/storage.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/storage.h
diff --git a/mojo/shell/storage.h b/mojo/shell/storage.h
new file mode 100644
index 0000000000000000000000000000000000000000..62cb0a2a4bc93a9320549c7c8e33141a05e66456
--- /dev/null
+++ b/mojo/shell/storage.h
@@ -0,0 +1,32 @@
+// Copyright (c) 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef MOJO_SHELL_STORAGE_H_
+#define MOJO_SHELL_STORAGE_H_
+
+#include "base/files/file_path.h"
+
+namespace mojo {
+namespace shell {
+
+// A object that represents the persistent storage used by the shell.
+class Storage {
+ public:
+ Storage();
+ ~Storage();
+
+ base::FilePath profile_path() const {
+ return profile_path_;
+ }
+
+ private:
+ base::FilePath profile_path_;
+
+ DISALLOW_COPY_AND_ASSIGN(Storage);
+};
+
+} // namespace shell
+} // namespace mojo
+
+#endif // MOJO_SHELL_STORAGE_H_
« no previous file with comments | « mojo/shell/shell.cc ('k') | mojo/shell/storage.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698