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

Side by Side Diff: ipc/handle_win.h

Issue 1659003003: IPC::Message -> base::Pickle (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix missing comment 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 unified diff | Download patch
OLDNEW
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 IPC_HANDLE_WIN_H_ 5 #ifndef IPC_HANDLE_WIN_H_
6 #define IPC_HANDLE_WIN_H_ 6 #define IPC_HANDLE_WIN_H_
7 7
8 #include <windows.h> 8 #include <windows.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 Permissions get_permissions() const { return permissions_; } 49 Permissions get_permissions() const { return permissions_; }
50 50
51 private: 51 private:
52 HANDLE handle_; 52 HANDLE handle_;
53 Permissions permissions_; 53 Permissions permissions_;
54 }; 54 };
55 55
56 template <> 56 template <>
57 struct IPC_EXPORT ParamTraits<HandleWin> { 57 struct IPC_EXPORT ParamTraits<HandleWin> {
58 typedef HandleWin param_type; 58 typedef HandleWin param_type;
59 static void Write(Message* m, const param_type& p); 59 static void Write(base::Pickle* m, const param_type& p);
60 static bool Read(const Message* m, base::PickleIterator* iter, param_type* p); 60 static bool Read(const base::Pickle* m,
61 base::PickleIterator* iter,
62 param_type* p);
61 static void Log(const param_type& p, std::string* l); 63 static void Log(const param_type& p, std::string* l);
62 }; 64 };
63 65
64 } // namespace IPC 66 } // namespace IPC
65 67
66 #endif // IPC_HANDLE_WIN_H_ 68 #endif // IPC_HANDLE_WIN_H_
OLDNEW
« base/pickle.h ('K') | « gpu/ipc/gpu_command_buffer_traits.cc ('k') | ipc/handle_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698