| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef COMPONENTS_HTML_VIEWER_REPLICATED_FRAME_STATE_H_ | 5 #ifndef COMPONENTS_HTML_VIEWER_REPLICATED_FRAME_STATE_H_ |
| 6 #define COMPONENTS_HTML_VIEWER_REPLICATED_FRAME_STATE_H_ | 6 #define COMPONENTS_HTML_VIEWER_REPLICATED_FRAME_STATE_H_ |
| 7 | 7 |
| 8 #include <stdint.h> |
| 9 |
| 8 #include "mojo/public/cpp/bindings/array.h" | 10 #include "mojo/public/cpp/bindings/array.h" |
| 9 #include "mojo/public/cpp/bindings/map.h" | 11 #include "mojo/public/cpp/bindings/map.h" |
| 10 #include "mojo/public/cpp/bindings/string.h" | 12 #include "mojo/public/cpp/bindings/string.h" |
| 11 #include "third_party/WebKit/public/platform/WebString.h" | 13 #include "third_party/WebKit/public/platform/WebString.h" |
| 12 #include "third_party/WebKit/public/web/WebSandboxFlags.h" | 14 #include "third_party/WebKit/public/web/WebSandboxFlags.h" |
| 13 #include "third_party/WebKit/public/web/WebTreeScopeType.h" | 15 #include "third_party/WebKit/public/web/WebTreeScopeType.h" |
| 14 #include "url/origin.h" | 16 #include "url/origin.h" |
| 15 | 17 |
| 16 namespace html_viewer { | 18 namespace html_viewer { |
| 17 | 19 |
| (...skipping 15 matching lines...) Expand all Loading... |
| 33 ReplicatedFrameState* state); | 35 ReplicatedFrameState* state); |
| 34 | 36 |
| 35 // Sets |properties| from |state|. | 37 // Sets |properties| from |state|. |
| 36 void ClientPropertiesFromReplicatedFrameState( | 38 void ClientPropertiesFromReplicatedFrameState( |
| 37 const ReplicatedFrameState& state, | 39 const ReplicatedFrameState& state, |
| 38 mojo::Map<mojo::String, mojo::Array<uint8_t>>* properties); | 40 mojo::Map<mojo::String, mojo::Array<uint8_t>>* properties); |
| 39 | 41 |
| 40 } // namespace html_viewer | 42 } // namespace html_viewer |
| 41 | 43 |
| 42 #endif // COMPONENTS_HTML_VIEWER_REPLICATED_FRAME_STATE_H_ | 44 #endif // COMPONENTS_HTML_VIEWER_REPLICATED_FRAME_STATE_H_ |
| OLD | NEW |