Chromium Code Reviews| 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 14 matching lines...) Expand all Loading... | |
| 25 #include "third_party/WebKit/public/platform/modules/app_banner/WebAppBannerProm ptReply.h" | 25 #include "third_party/WebKit/public/platform/modules/app_banner/WebAppBannerProm ptReply.h" |
| 26 #include "third_party/WebKit/public/web/WebConsoleMessage.h" | 26 #include "third_party/WebKit/public/web/WebConsoleMessage.h" |
| 27 #include "third_party/WebKit/public/web/WebWindowFeatures.h" | 27 #include "third_party/WebKit/public/web/WebWindowFeatures.h" |
| 28 #include "ui/base/window_open_disposition.h" | 28 #include "ui/base/window_open_disposition.h" |
| 29 #include "url/ipc/url_param_traits.h" | 29 #include "url/ipc/url_param_traits.h" |
| 30 | 30 |
| 31 // Singly-included section for enums and custom IPC traits. | 31 // Singly-included section for enums and custom IPC traits. |
| 32 #ifndef CHROME_COMMON_RENDER_MESSAGES_H_ | 32 #ifndef CHROME_COMMON_RENDER_MESSAGES_H_ |
| 33 #define CHROME_COMMON_RENDER_MESSAGES_H_ | 33 #define CHROME_COMMON_RENDER_MESSAGES_H_ |
| 34 | 34 |
| 35 // These are only used internally, so the order does not matter. | |
| 35 enum class ChromeViewHostMsg_GetPluginInfo_Status { | 36 enum class ChromeViewHostMsg_GetPluginInfo_Status { |
| 36 kAllowed, | 37 kAllowed, |
| 37 kBlocked, | 38 kBlocked, |
| 38 kBlockedByPolicy, | 39 kBlockedByPolicy, |
| 39 kDisabled, | 40 kDisabled, |
| 40 kNotFound, | 41 kNotFound, |
| 41 kOutdatedBlocked, | 42 kOutdatedBlocked, |
| 42 kOutdatedDisallowed, | 43 kOutdatedDisallowed, |
| 43 kPlayImportantContent, | 44 kPlayImportantContent, |
| 44 kComponentUpdateRequired, | 45 kComponentUpdateRequired, |
| 46 kFlashHiddenPreferHtml, | |
|
Bernhard Bauer
2016/09/16 10:21:03
Can you sort these?
tommycli
2016/09/16 15:43:19
Done.
| |
| 45 kUnauthorized, | 47 kUnauthorized, |
| 46 }; | 48 }; |
| 47 | 49 |
| 48 namespace IPC { | 50 namespace IPC { |
| 49 | 51 |
| 50 template <> | 52 template <> |
| 51 struct ParamTraits<ContentSettingsPattern> { | 53 struct ParamTraits<ContentSettingsPattern> { |
| 52 typedef ContentSettingsPattern param_type; | 54 typedef ContentSettingsPattern param_type; |
| 53 static void GetSize(base::PickleSizer* s, const param_type& p); | 55 static void GetSize(base::PickleSizer* s, const param_type& p); |
| 54 static void Write(base::Pickle* m, const param_type& p); | 56 static void Write(base::Pickle* m, const param_type& p); |
| (...skipping 515 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 570 | 572 |
| 571 // Record a sample string to a Rappor metric. | 573 // Record a sample string to a Rappor metric. |
| 572 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_RecordRappor, | 574 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_RecordRappor, |
| 573 std::string /* metric */, | 575 std::string /* metric */, |
| 574 std::string /* sample */) | 576 std::string /* sample */) |
| 575 | 577 |
| 576 // Record a domain and registry of a url to a Rappor metric. | 578 // Record a domain and registry of a url to a Rappor metric. |
| 577 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_RecordRapporURL, | 579 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_RecordRapporURL, |
| 578 std::string /* metric */, | 580 std::string /* metric */, |
| 579 GURL /* sample url */) | 581 GURL /* sample url */) |
| OLD | NEW |