Chromium Code Reviews| OLD | NEW |
|---|---|
| (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 #include "base/macros.h" | |
| 11 | |
| 12 namespace content { | |
| 13 | |
| 14 // Copyable interface for embedders to pass opaque data to content. | |
|
nasko
2016/04/26 20:18:40
Let's add also a bit about the contract of this da
RyanSturm
2016/04/27 23:27:47
Done.
| |
| 15 class NavigationData { | |
| 16 public: | |
| 17 virtual ~NavigationData(){}; | |
| 18 // Creates a new NavigationData that is completely independent of the | |
|
nasko
2016/04/26 20:18:40
nit: Empty line above the comment.
s/completely i
RyanSturm
2016/04/27 23:27:47
Done.
| |
| 19 // original, and could be used cross-thread. | |
| 20 virtual std::unique_ptr<NavigationData> Clone() const = 0; | |
| 21 }; | |
| 22 | |
| 23 } // namespace content | |
| 24 | |
| 25 #endif // CONTENT_PUBLIC_BROWSER_NAVIGATION_DATA_H_ | |
| OLD | NEW |