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 #ifndef CHROME_UTILITY_CHROME_CONTENT_UTILITY_CLIENT_H_ | 5 #ifndef CHROME_UTILITY_CHROME_CONTENT_UTILITY_CLIENT_H_ |
6 #define CHROME_UTILITY_CHROME_CONTENT_UTILITY_CLIENT_H_ | 6 #define CHROME_UTILITY_CHROME_CONTENT_UTILITY_CLIENT_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include <set> | 10 #include <set> |
9 #include <string> | 11 #include <string> |
10 #include <vector> | 12 #include <vector> |
11 | 13 |
12 #include "base/compiler_specific.h" | 14 #include "base/compiler_specific.h" |
| 15 #include "base/macros.h" |
13 #include "base/memory/scoped_vector.h" | 16 #include "base/memory/scoped_vector.h" |
| 17 #include "build/build_config.h" |
14 #include "content/public/utility/content_utility_client.h" | 18 #include "content/public/utility/content_utility_client.h" |
15 #include "ipc/ipc_platform_file.h" | 19 #include "ipc/ipc_platform_file.h" |
16 | 20 |
17 namespace base { | 21 namespace base { |
18 class FilePath; | 22 class FilePath; |
19 struct FileDescriptor; | 23 struct FileDescriptor; |
20 } | 24 } |
21 | 25 |
22 class UtilityMessageHandler; | 26 class UtilityMessageHandler; |
23 | 27 |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 bool filter_messages_; | 88 bool filter_messages_; |
85 // A list of message_ids to filter. | 89 // A list of message_ids to filter. |
86 std::set<int> message_id_whitelist_; | 90 std::set<int> message_id_whitelist_; |
87 // Maximum IPC msg size (default to kMaximumMessageSize; override for testing) | 91 // Maximum IPC msg size (default to kMaximumMessageSize; override for testing) |
88 static int64_t max_ipc_message_size_; | 92 static int64_t max_ipc_message_size_; |
89 | 93 |
90 DISALLOW_COPY_AND_ASSIGN(ChromeContentUtilityClient); | 94 DISALLOW_COPY_AND_ASSIGN(ChromeContentUtilityClient); |
91 }; | 95 }; |
92 | 96 |
93 #endif // CHROME_UTILITY_CHROME_CONTENT_UTILITY_CLIENT_H_ | 97 #endif // CHROME_UTILITY_CHROME_CONTENT_UTILITY_CLIENT_H_ |
OLD | NEW |