Index: content/browser/navigation_controller/navigation_controller_context.h |
diff --git a/content/browser/navigation_controller/navigation_controller_context.h b/content/browser/navigation_controller/navigation_controller_context.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..31d9681b6315b663cd83f66110534fb47f311351 |
--- /dev/null |
+++ b/content/browser/navigation_controller/navigation_controller_context.h |
@@ -0,0 +1,40 @@ |
+// Copyright 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 CONTENT_BROWSER_NAVIGATION_CONTROLLER_NAVIGATION_CONTROLLER_CONTEXT_H_ |
+#define CONTENT_BROWSER_NAVIGATION_CONTROLLER_NAVIGATION_CONTROLLER_CONTEXT_H_ |
+ |
+#include "base/files/file_path.h" |
+#include "base/memory/ref_counted.h" |
+ |
+// TODO(alecflett): Promote to an interface and put in content/public |
+// when this needs to be accessed from chrome/ |
+ |
+namespace base { |
+class FilePath; |
+} |
+ |
+namespace quota { |
+class QuotaManagerProxy; |
+} |
+ |
+namespace content { |
+ |
+class NavigationControllerContext |
+ : public base::RefCounted<NavigationControllerContext> { |
+ public: |
+ NavigationControllerContext(const base::FilePath& path, |
+ quota::QuotaManagerProxy* quota_manager_proxy); |
+ |
+ private: |
+ friend class base::RefCounted<NavigationControllerContext>; |
+ ~NavigationControllerContext(); |
+ |
+ scoped_refptr<quota::QuotaManagerProxy> quota_manager_proxy_; |
+ base::FilePath path_; |
+}; |
+ |
+} // namespace content |
+ |
+#endif // CONTENT_BROWSER_NAVIGATION_CONTROLLER_NAVIGATION_CONTROLLER_CONTEXT_H_ |