Chromium Code Reviews| 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 #include "content/browser/nav_controller/nav_controller_context.h" | |
| 6 | |
| 7 #include "base/files/file_path.h" | |
| 8 #include "webkit/browser/quota/quota_manager.h" | |
| 9 | |
| 10 namespace content { | |
| 11 | |
| 12 const base::FilePath::CharType kNavControllerDirectory[] = | |
| 13 FILE_PATH_LITERAL("NavController"); | |
| 14 | |
| 15 NavControllerContext::NavControllerContext( | |
| 16 const base::FilePath& path, | |
|
Tom Sepez
2013/09/13 21:48:34
Who gets to specify this path? Hardcoded in browse
| |
| 17 quota::QuotaManagerProxy* quota_manager_proxy) | |
| 18 : quota_manager_proxy_(quota_manager_proxy) { | |
| 19 if (!path.empty()) | |
| 20 path_ = path.Append(kNavControllerDirectory); | |
| 21 } | |
| 22 | |
| 23 NavControllerContext::~NavControllerContext() {} | |
| 24 | |
| 25 } // namespace content | |
| OLD | NEW |