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

Side by Side Diff: content/public/browser/navigation_ui_data.h

Issue 2335133003: PlzNavigate: support the WebRequest API (Closed)
Patch Set: Addressed comments + changes to NavigationHandleImpl following 2364943002 Created 4 years, 2 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CONTENT_PUBLIC_BROWSER_NAVIGATION_UI_DATA_H_
6 #define CONTENT_PUBLIC_BROWSER_NAVIGATION_UI_DATA_H_
7
8 #include <memory>
9
10 namespace content {
11
12 // PlzNavigate
13 // Copyable interface for embedders to pass opaque data to content/. It is
14 // expected to be created on the UI thread at the start of the navigation, and
15 // content/ will transfer it to the IO thread as a clone.
16 class NavigationUIData {
17 public:
18 virtual ~NavigationUIData(){};
19
20 // Creates a new NavigationData that is a deep copy of the original.
21 virtual std::unique_ptr<NavigationUIData> Clone() const = 0;
22 };
23
24 } // namespace content
25
26 #endif // CONTENT_PUBLIC_BROWSER_NAVIGATION_UI_DATA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698