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

Unified Diff: content/browser/navigation_controller/navigation_controller_context.cc

Issue 23615009: Stub out initial NavigationController browser implementation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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
Index: content/browser/navigation_controller/navigation_controller_context.cc
diff --git a/content/browser/navigation_controller/navigation_controller_context.cc b/content/browser/navigation_controller/navigation_controller_context.cc
new file mode 100644
index 0000000000000000000000000000000000000000..900df3172d815cbcc8e77eef5903fd91d525f5e7
--- /dev/null
+++ b/content/browser/navigation_controller/navigation_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/navigation_controller/navigation_controller_context.h"
+
+#include "base/files/file_path.h"
+#include "webkit/browser/quota/quota_manager.h"
+
+namespace content {
+
+const base::FilePath::CharType kNavigationControllerDirectory[] =
+ FILE_PATH_LITERAL("NavigationController");
+
+NavigationControllerContext::NavigationControllerContext(
+ const base::FilePath& path,
+ quota::QuotaManagerProxy* quota_manager_proxy)
+ : quota_manager_proxy_(quota_manager_proxy) {
+ if (!path.empty())
+ path_ = path.Append(kNavigationControllerDirectory);
+}
+
+NavigationControllerContext::~NavigationControllerContext() {}
+
+} // namespace content

Powered by Google App Engine
This is Rietveld 408576698