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

Unified Diff: components/web_view/pending_web_view_load.h

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.cc ('k') | components/web_view/pending_web_view_load.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/web_view/pending_web_view_load.h
diff --git a/components/web_view/pending_web_view_load.h b/components/web_view/pending_web_view_load.h
deleted file mode 100644
index 9151db45639ce063b4a85fa859c24a359e44ac29..0000000000000000000000000000000000000000
--- a/components/web_view/pending_web_view_load.h
+++ /dev/null
@@ -1,62 +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.
-
-#ifndef COMPONENTS_WEB_VIEW_PENDING_WEB_VIEW_LOAD_H_
-#define COMPONENTS_WEB_VIEW_PENDING_WEB_VIEW_LOAD_H_
-
-#include <string>
-#include <utility>
-
-#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
-#include "base/time/time.h"
-#include "mojo/services/network/public/interfaces/url_loader.mojom.h"
-#include "url/gurl.h"
-
-namespace web_view {
-
-class FrameConnection;
-class WebViewImpl;
-
-// PendingWebViewLoad holds the state necessary to service a load of the main
-// frame. Once the necessary state has been obtained the load is started.
-class PendingWebViewLoad {
- public:
- explicit PendingWebViewLoad(WebViewImpl* web_view);
- ~PendingWebViewLoad();
-
- void Init(mojo::URLRequestPtr request);
-
- scoped_ptr<FrameConnection> frame_connection() {
- return std::move(frame_connection_);
- }
-
- bool is_content_handler_id_valid() const {
- return is_content_handler_id_valid_;
- }
-
- const GURL& pending_url() const { return pending_url_; }
-
- base::TimeTicks navigation_start_time() const {
- return navigation_start_time_;
- }
-
- private:
- void OnGotContentHandlerID();
-
- WebViewImpl* web_view_;
-
- GURL pending_url_;
- bool is_content_handler_id_valid_;
-
- scoped_ptr<FrameConnection> frame_connection_;
-
- base::TimeTicks navigation_start_time_;
-
- DISALLOW_COPY_AND_ASSIGN(PendingWebViewLoad);
-};
-
-} // namespace web_view
-
-#endif // COMPONENTS_WEB_VIEW_PENDING_WEB_VIEW_LOAD_H_
« no previous file with comments | « components/web_view/navigation_entry.cc ('k') | components/web_view/pending_web_view_load.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698