OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // Multiply-included file, no traditional include guard. | 5 // Multiply-included file, no traditional include guard. |
6 #include <stdint.h> | 6 #include <stdint.h> |
7 #include <map> | 7 #include <map> |
8 #include <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 kPlayImportantContent, | 56 kPlayImportantContent, |
57 kUnauthorized, | 57 kUnauthorized, |
58 }; | 58 }; |
59 | 59 |
60 namespace IPC { | 60 namespace IPC { |
61 | 61 |
62 template <> | 62 template <> |
63 struct ParamTraits<ContentSettingsPattern> { | 63 struct ParamTraits<ContentSettingsPattern> { |
64 typedef ContentSettingsPattern param_type; | 64 typedef ContentSettingsPattern param_type; |
65 static void Write(Message* m, const param_type& p); | 65 static void Write(Message* m, const param_type& p); |
66 static bool Read(const Message* m, PickleIterator* iter, param_type* r); | 66 static bool Read(const Message* m, base::PickleIterator* iter, param_type* r); |
67 static void Log(const param_type& p, std::string* l); | 67 static void Log(const param_type& p, std::string* l); |
68 }; | 68 }; |
69 | 69 |
70 } // namespace IPC | 70 } // namespace IPC |
71 | 71 |
72 #endif // CHROME_COMMON_RENDER_MESSAGES_H_ | 72 #endif // CHROME_COMMON_RENDER_MESSAGES_H_ |
73 | 73 |
74 #define IPC_MESSAGE_START ChromeMsgStart | 74 #define IPC_MESSAGE_START ChromeMsgStart |
75 | 75 |
76 IPC_ENUM_TRAITS_MAX_VALUE(ChromeViewHostMsg_GetPluginInfo_Status, | 76 IPC_ENUM_TRAITS_MAX_VALUE(ChromeViewHostMsg_GetPluginInfo_Status, |
(...skipping 535 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
612 | 612 |
613 // Record a sample string to a Rappor metric. | 613 // Record a sample string to a Rappor metric. |
614 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_RecordRappor, | 614 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_RecordRappor, |
615 std::string /* metric */, | 615 std::string /* metric */, |
616 std::string /* sample */) | 616 std::string /* sample */) |
617 | 617 |
618 // Record a domain and registry of a url to a Rappor metric. | 618 // Record a domain and registry of a url to a Rappor metric. |
619 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_RecordRapporURL, | 619 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_RecordRapporURL, |
620 std::string /* metric */, | 620 std::string /* metric */, |
621 GURL /* sample url */) | 621 GURL /* sample url */) |
OLD | NEW |