OLD | NEW |
(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 CONTENT_BROWSER_NAVIGATION_CONTROLLER_NAVIGATION_CONTROLLER_CONTEXT_H_ |
| 6 #define CONTENT_BROWSER_NAVIGATION_CONTROLLER_NAVIGATION_CONTROLLER_CONTEXT_H_ |
| 7 |
| 8 #include "base/files/file_path.h" |
| 9 #include "base/memory/ref_counted.h" |
| 10 |
| 11 // TODO(alecflett): Promote to an interface and put in content/public |
| 12 // when this needs to be accessed from chrome/ |
| 13 |
| 14 namespace base { |
| 15 class FilePath; |
| 16 } |
| 17 |
| 18 namespace quota { |
| 19 class QuotaManagerProxy; |
| 20 } |
| 21 |
| 22 namespace content { |
| 23 |
| 24 class NavigationControllerContext |
| 25 : public base::RefCounted<NavigationControllerContext> { |
| 26 public: |
| 27 NavigationControllerContext(const base::FilePath& path, |
| 28 quota::QuotaManagerProxy* quota_manager_proxy); |
| 29 |
| 30 private: |
| 31 friend class base::RefCounted<NavigationControllerContext>; |
| 32 ~NavigationControllerContext(); |
| 33 |
| 34 scoped_refptr<quota::QuotaManagerProxy> quota_manager_proxy_; |
| 35 base::FilePath path_; |
| 36 }; |
| 37 |
| 38 } // namespace content |
| 39 |
| 40 #endif // CONTENT_BROWSER_NAVIGATION_CONTROLLER_NAVIGATION_CONTROLLER_CONTEXT_H
_ |
OLD | NEW |