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

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

Issue 1721813002: Adding DRP specfic UMA for FirstContentfulPaint (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: making NavigationData const after clone Created 4 years, 7 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_DATA_H_
6 #define CONTENT_PUBLIC_BROWSER_NAVIGATION_DATA_H_
7
8 #include <memory>
9
10 namespace content {
11
12 // Copyable interface for embedders to pass opaque data to content. It is
nasko 2016/05/09 17:35:43 nit: content/
RyanSturm 2016/05/09 18:27:31 Done.
13 // expected to be created on the IO thread, and content/ will transfer it to the
14 // UI thread as a clone.
15 class NavigationData {
16 public:
17 virtual ~NavigationData(){};
18
19 // Creates a new NavigationData that is a deep copy of the original
20 virtual std::unique_ptr<NavigationData> Clone() const = 0;
21 };
22
23 } // namespace content
24
25 #endif // CONTENT_PUBLIC_BROWSER_NAVIGATION_DATA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698