| Index: chrome/browser/renderer_host/chrome_navigation_data.cc
|
| diff --git a/chrome/browser/renderer_host/chrome_navigation_data.cc b/chrome/browser/renderer_host/chrome_navigation_data.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..eff914c8a498e25824a7f2a7735f8ede6e5442ef
|
| --- /dev/null
|
| +++ b/chrome/browser/renderer_host/chrome_navigation_data.cc
|
| @@ -0,0 +1,18 @@
|
| +// Copyright 2016 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 "chrome/browser/renderer_host/chrome_navigation_data.h"
|
| +
|
| +#include "components/data_reduction_proxy/core/browser/data_reduction_proxy_data.h"
|
| +
|
| +ChromeNavigationData::ChromeNavigationData() {}
|
| +
|
| +ChromeNavigationData::~ChromeNavigationData() {}
|
| +
|
| +std::unique_ptr<content::NavigationData> ChromeNavigationData::Clone() const {
|
| + std::unique_ptr<ChromeNavigationData> copy(new ChromeNavigationData());
|
| + if (data_reduction_proxy_data_)
|
| + copy->SetDataReductionProxyData(data_reduction_proxy_data_->DeepCopy());
|
| + return std::move(copy);
|
| +}
|
|
|