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

Unified Diff: components/html_viewer/replicated_frame_state.h

Issue 1677293002: Bye bye Mandoline (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: moar Created 4 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: components/html_viewer/replicated_frame_state.h
diff --git a/components/html_viewer/replicated_frame_state.h b/components/html_viewer/replicated_frame_state.h
deleted file mode 100644
index 93b9f3f27e2bd8d5b5a7d0513139a079e0783160..0000000000000000000000000000000000000000
--- a/components/html_viewer/replicated_frame_state.h
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef COMPONENTS_HTML_VIEWER_REPLICATED_FRAME_STATE_H_
-#define COMPONENTS_HTML_VIEWER_REPLICATED_FRAME_STATE_H_
-
-#include <stdint.h>
-
-#include "mojo/public/cpp/bindings/array.h"
-#include "mojo/public/cpp/bindings/map.h"
-#include "mojo/public/cpp/bindings/string.h"
-#include "third_party/WebKit/public/platform/WebString.h"
-#include "third_party/WebKit/public/web/WebSandboxFlags.h"
-#include "third_party/WebKit/public/web/WebTreeScopeType.h"
-#include "url/origin.h"
-
-namespace html_viewer {
-
-// Stores state shared with other frames in the tree.
-struct ReplicatedFrameState {
- public:
- ReplicatedFrameState();
- ~ReplicatedFrameState();
-
- blink::WebString name;
- url::Origin origin;
- blink::WebSandboxFlags sandbox_flags;
- blink::WebTreeScopeType tree_scope;
-};
-
-// Sets |state| from |properties|.
-void SetReplicatedFrameStateFromClientProperties(
- const mojo::Map<mojo::String, mojo::Array<uint8_t>>& properties,
- ReplicatedFrameState* state);
-
-// Sets |properties| from |state|.
-void ClientPropertiesFromReplicatedFrameState(
- const ReplicatedFrameState& state,
- mojo::Map<mojo::String, mojo::Array<uint8_t>>* properties);
-
-} // namespace html_viewer
-
-#endif // COMPONENTS_HTML_VIEWER_REPLICATED_FRAME_STATE_H_
« no previous file with comments | « components/html_viewer/public/interfaces/test_html_viewer.mojom ('k') | components/html_viewer/replicated_frame_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698