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

Unified Diff: content/common/gamepad_param_traits.h

Issue 2522843002: Convert Gamepad IPC messages into mojo interface. (Closed)
Patch Set: code rebase Created 4 years 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 | « content/common/gamepad_messages.h ('k') | content/common/gamepad_param_traits.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gamepad_param_traits.h
diff --git a/content/common/gamepad_param_traits.h b/content/common/gamepad_param_traits.h
deleted file mode 100644
index a06e79f7d9dd1e51ac86672a75f62f8f40bf43a9..0000000000000000000000000000000000000000
--- a/content/common/gamepad_param_traits.h
+++ /dev/null
@@ -1,33 +0,0 @@
-// Copyright 2014 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 CONTENT_COMMON_GAMEPAD_PARAM_TRAITS_H_
-#define CONTENT_COMMON_GAMEPAD_PARAM_TRAITS_H_
-
-#include <string>
-
-#include "ipc/ipc_param_traits.h"
-
-namespace base {
-class Pickle;
-class PickleIterator;
-}
-
-namespace blink { class WebGamepad; }
-
-namespace IPC {
-
-template <>
-struct ParamTraits<blink::WebGamepad> {
- typedef blink::WebGamepad param_type;
- static void Write(base::Pickle* m, const blink::WebGamepad& p);
- static bool Read(const base::Pickle* m,
- base::PickleIterator* iter,
- blink::WebGamepad* p);
- static void Log(const blink::WebGamepad& p, std::string* l);
-};
-
-} // namespace IPC
-
-#endif // CONTENT_COMMON_GAMEPAD_PARAM_TRAITS_H_
« no previous file with comments | « content/common/gamepad_messages.h ('k') | content/common/gamepad_param_traits.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698