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

Unified Diff: cc/ipc/local_frame_id_struct_traits.h

Issue 2661543002: Rename LocalFrameId to LocalSurfaceId (Closed)
Patch Set: c Created 3 years, 11 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
« no previous file with comments | « cc/ipc/local_frame_id.typemap ('k') | cc/ipc/local_surface_id.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/ipc/local_frame_id_struct_traits.h
diff --git a/cc/ipc/local_frame_id_struct_traits.h b/cc/ipc/local_frame_id_struct_traits.h
deleted file mode 100644
index 4dd01d6fba44f52fcfdcc4bfe9d9608f397c9fce..0000000000000000000000000000000000000000
--- a/cc/ipc/local_frame_id_struct_traits.h
+++ /dev/null
@@ -1,34 +0,0 @@
-// Copyright 2016 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 CC_IPC_LOCAL_FRAME_ID_STRUCT_TRAITS_H_
-#define CC_IPC_LOCAL_FRAME_ID_STRUCT_TRAITS_H_
-
-#include "cc/ipc/local_frame_id.mojom-shared.h"
-#include "cc/surfaces/local_frame_id.h"
-#include "mojo/common/common_custom_types_struct_traits.h"
-
-namespace mojo {
-
-template <>
-struct StructTraits<cc::mojom::LocalFrameIdDataView, cc::LocalFrameId> {
- static uint32_t local_id(const cc::LocalFrameId& local_frame_id) {
- return local_frame_id.local_id();
- }
-
- static const base::UnguessableToken& nonce(
- const cc::LocalFrameId& local_frame_id) {
- return local_frame_id.nonce();
- }
-
- static bool Read(cc::mojom::LocalFrameIdDataView data,
- cc::LocalFrameId* out) {
- out->local_id_ = data.local_id();
- return data.ReadNonce(&out->nonce_);
- }
-};
-
-} // namespace mojo
-
-#endif // CC_IPC_LOCAL_FRAME_ID_STRUCT_TRAITS_H_
« no previous file with comments | « cc/ipc/local_frame_id.typemap ('k') | cc/ipc/local_surface_id.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698