Chromium Code Reviews| Index: content/browser/nav_controller/nav_controller_context.cc |
| diff --git a/content/browser/nav_controller/nav_controller_context.cc b/content/browser/nav_controller/nav_controller_context.cc |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..4292d9c368600edddbb121f85effc73196aea4ea |
| --- /dev/null |
| +++ b/content/browser/nav_controller/nav_controller_context.cc |
| @@ -0,0 +1,25 @@ |
| +// 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. |
| + |
| +#include "content/browser/nav_controller/nav_controller_context.h" |
| + |
| +#include "base/files/file_path.h" |
| +#include "webkit/browser/quota/quota_manager.h" |
| + |
| +namespace content { |
| + |
| +const base::FilePath::CharType kNavControllerDirectory[] = |
| + FILE_PATH_LITERAL("NavController"); |
| + |
| +NavControllerContext::NavControllerContext( |
| + const base::FilePath& path, |
|
Tom Sepez
2013/09/13 21:48:34
Who gets to specify this path? Hardcoded in browse
|
| + quota::QuotaManagerProxy* quota_manager_proxy) |
| + : quota_manager_proxy_(quota_manager_proxy) { |
| + if (!path.empty()) |
| + path_ = path.Append(kNavControllerDirectory); |
| +} |
| + |
| +NavControllerContext::~NavControllerContext() {} |
| + |
| +} // namespace content |