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 <string> | 7 #include <string> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
(...skipping 21 matching lines...) Expand all Loading... |
32 // Singly-included section for enums and custom IPC traits. | 32 // Singly-included section for enums and custom IPC traits. |
33 #ifndef CHROME_COMMON_RENDER_MESSAGES_H_ | 33 #ifndef CHROME_COMMON_RENDER_MESSAGES_H_ |
34 #define CHROME_COMMON_RENDER_MESSAGES_H_ | 34 #define CHROME_COMMON_RENDER_MESSAGES_H_ |
35 | 35 |
36 enum class ChromeViewHostMsg_GetPluginInfo_Status { | 36 enum class ChromeViewHostMsg_GetPluginInfo_Status { |
37 kAllowed, | 37 kAllowed, |
38 kBlocked, | 38 kBlocked, |
39 kBlockedByPolicy, | 39 kBlockedByPolicy, |
40 kDisabled, | 40 kDisabled, |
41 kNotFound, | 41 kNotFound, |
42 kNPAPINotSupported, | |
43 kOutdatedBlocked, | 42 kOutdatedBlocked, |
44 kOutdatedDisallowed, | 43 kOutdatedDisallowed, |
45 kPlayImportantContent, | 44 kPlayImportantContent, |
46 kUnauthorized, | 45 kUnauthorized, |
47 }; | 46 }; |
48 | 47 |
49 namespace IPC { | 48 namespace IPC { |
50 | 49 |
51 template <> | 50 template <> |
52 struct ParamTraits<ContentSettingsPattern> { | 51 struct ParamTraits<ContentSettingsPattern> { |
(...skipping 522 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
575 | 574 |
576 // Record a sample string to a Rappor metric. | 575 // Record a sample string to a Rappor metric. |
577 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_RecordRappor, | 576 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_RecordRappor, |
578 std::string /* metric */, | 577 std::string /* metric */, |
579 std::string /* sample */) | 578 std::string /* sample */) |
580 | 579 |
581 // Record a domain and registry of a url to a Rappor metric. | 580 // Record a domain and registry of a url to a Rappor metric. |
582 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_RecordRapporURL, | 581 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_RecordRapporURL, |
583 std::string /* metric */, | 582 std::string /* metric */, |
584 GURL /* sample url */) | 583 GURL /* sample url */) |
OLD | NEW |