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

Unified Diff: components/web_view/navigation_entry.cc

Issue 1677293002: Bye bye Mandoline (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: moar Created 4 years, 10 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
« no previous file with comments | « components/web_view/navigation_entry.h ('k') | components/web_view/pending_web_view_load.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/web_view/navigation_entry.cc
diff --git a/components/web_view/navigation_entry.cc b/components/web_view/navigation_entry.cc
deleted file mode 100644
index c82994a3539b83aa00974c7b5363d4ba3e9617b0..0000000000000000000000000000000000000000
--- a/components/web_view/navigation_entry.cc
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright 2015 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 "components/web_view/navigation_entry.h"
-
-#include <utility>
-
-namespace web_view {
-
-NavigationEntry::NavigationEntry(mojo::URLRequestPtr original_request)
- : url_request_(std::move(original_request)) {
- if (url_request_.originating_time().is_null())
- url_request_.set_originating_time(base::TimeTicks::Now());
-}
-
-NavigationEntry::NavigationEntry(const GURL& raw_url)
- : url_request_(raw_url) {}
-
-NavigationEntry::~NavigationEntry() {}
-
-mojo::URLRequestPtr NavigationEntry::BuildURLRequest(
- bool update_originating_time) {
- if (update_originating_time)
- url_request_.set_originating_time(base::TimeTicks::Now());
- return url_request_.Clone();
-}
-
-} // namespace web_view
« no previous file with comments | « components/web_view/navigation_entry.h ('k') | components/web_view/pending_web_view_load.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698