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" | |
|
bengr
2016/04/29 21:14:23
Why is this here? Did you mean to add DISALLOW_COP
RyanSturm
2016/05/02 19:52:22
Removing, each inheritor should deal with disallow
| |
| 11 | |
| 12 namespace content { | |
| 13 | |
| 14 // Copyable interface for embedders to pass opaque data to content. It is | |
| 15 // expected to be created on the IO thread, and content will transfer it to the | |
| 16 // UI thread as a Clone. | |
|
bengr
2016/04/29 21:14:23
Clone -> clone
RyanSturm
2016/05/02 19:52:22
Done.
| |
| 17 class NavigationData { | |
| 18 public: | |
| 19 virtual ~NavigationData(){}; | |
| 20 | |
| 21 // Creates a new NavigationData that is a deep copy of the original, and | |
|
bengr
2016/04/29 21:14:23
is a -> is a
"and could be used cross-thread" se
RyanSturm
2016/05/02 19:52:22
Done.
| |
| 22 // could be used cross-thread. | |
| 23 virtual std::unique_ptr<NavigationData> Clone() const = 0; | |
| 24 }; | |
| 25 | |
| 26 } // namespace content | |
| 27 | |
| 28 #endif // CONTENT_PUBLIC_BROWSER_NAVIGATION_DATA_H_ | |
| OLD | NEW |