| Index: content/browser/frame_host/navigation_user_data.cc
|
| diff --git a/content/browser/frame_host/navigation_user_data.cc b/content/browser/frame_host/navigation_user_data.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..404b1151b1d1073f9e8fb5c35915c87bdb9ba9c3
|
| --- /dev/null
|
| +++ b/content/browser/frame_host/navigation_user_data.cc
|
| @@ -0,0 +1,26 @@
|
| +// Copyright 2014 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/frame_host/navigation_user_data.h"
|
| +
|
| +namespace content {
|
| +
|
| +const void* const kNavigationUserDataKey = &kNavigationUserDataKey;
|
| +
|
| +NavigationUserData::NavigationUserData()
|
| + : navigation_supports_user_data_(new NavigationSupportsUserData()) {}
|
| +
|
| +NavigationUserData::~NavigationUserData() {}
|
| +
|
| +NavigationSupportsUserData*
|
| +NavigationUserData::get_navigation_supports_user_data() {
|
| + return navigation_supports_user_data_.get();
|
| +}
|
| +
|
| +scoped_ptr<NavigationSupportsUserData>
|
| +NavigationUserData::take_own_navigation_supports_user_data() {
|
| + return std::move(navigation_supports_user_data_);
|
| +}
|
| +
|
| +} // namespace content
|
|
|