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

Unified Diff: components/network_hints/public/cpp/network_hints_param_traits.h

Issue 2179693002: Revert of Convert network hints to Mojo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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/network_hints/public/cpp/network_hints_param_traits.h
diff --git a/components/network_hints/public/cpp/network_hints_param_traits.h b/components/network_hints/public/cpp/network_hints_param_traits.h
deleted file mode 100644
index db9b73aa2e9df7716db137ae60b2f8d16cc5be49..0000000000000000000000000000000000000000
--- a/components/network_hints/public/cpp/network_hints_param_traits.h
+++ /dev/null
@@ -1,31 +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 COMPONENTS_NETWORK_HINTS_COMMON_NETWORK_HINTS_PARAM_TRAITS_H_
-#define COMPONENTS_NETWORK_HINTS_COMMON_NETWORK_HINTS_PARAM_TRAITS_H_
-
-#include <string>
-#include <vector>
-
-#include "components/network_hints/common/network_hints_common.h"
-#include "ipc/ipc_message_macros.h"
-#include "ipc/ipc_message_utils.h"
-#include "url/ipc/url_param_traits.h"
-
-namespace IPC {
-
-template <>
-struct ParamTraits<network_hints::LookupRequest> {
- typedef network_hints::LookupRequest param_type;
- static void GetSize(base::PickleSizer* s, const param_type& p);
- static void Write(base::Pickle* m, const param_type& p);
- static bool Read(const base::Pickle* m,
- base::PickleIterator* iter,
- param_type* r);
- static void Log(const param_type& p, std::string* l);
-};
-
-} // namespace IPC
-
-#endif // COMPONENTS_NETWORK_HINTS_COMMON_NETWORK_HINTS_PARAM_TRAITS_H_

Powered by Google App Engine
This is Rietveld 408576698