| 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 message file, so no include guard. | 5 // Multiply-included message file, so no include guard. |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| 11 #include "base/files/file_path.h" | 11 #include "base/files/file_path.h" |
| 12 #include "base/platform_file.h" | 12 #include "base/platform_file.h" |
| 13 #include "base/strings/string16.h" | 13 #include "base/strings/string16.h" |
| 14 #include "base/tuple.h" | 14 #include "base/tuple.h" |
| 15 #include "base/values.h" | 15 #include "base/values.h" |
| 16 #include "chrome/common/extensions/update_manifest.h" | 16 #include "chrome/common/extensions/update_manifest.h" |
| 17 #include "chrome/common/media_galleries/iphoto_library.h" | 17 #include "chrome/common/media_galleries/iphoto_library.h" |
| 18 #include "chrome/common/media_galleries/itunes_library.h" | 18 #include "chrome/common/media_galleries/itunes_library.h" |
| 19 #include "chrome/common/media_galleries/metadata_types.h" | 19 #include "chrome/common/media_galleries/metadata_types.h" |
| 20 #include "chrome/common/media_galleries/picasa_types.h" | 20 #include "chrome/common/media_galleries/picasa_types.h" |
| 21 #include "chrome/common/safe_browsing/zip_analyzer.h" | 21 #include "chrome/common/safe_browsing/zip_analyzer.h" |
| 22 #include "ipc/ipc_message_macros.h" | 22 #include "ipc/ipc_message_macros.h" |
| 23 #include "ipc/ipc_platform_file.h" | 23 #include "ipc/ipc_platform_file.h" |
| 24 #include "third_party/skia/include/core/SkBitmap.h" | 24 #include "third_party/skia/include/core/SkBitmap.h" |
| 25 #include "ui/gfx/ipc/gfx_param_traits.h" |
| 25 | 26 |
| 26 #define IPC_MESSAGE_START ChromeUtilityMsgStart | 27 #define IPC_MESSAGE_START ChromeUtilityMsgStart |
| 27 | 28 |
| 28 #ifndef CHROME_COMMON_CHROME_UTILITY_MESSAGES_H_ | 29 #ifndef CHROME_COMMON_CHROME_UTILITY_MESSAGES_H_ |
| 29 #define CHROME_COMMON_CHROME_UTILITY_MESSAGES_H_ | 30 #define CHROME_COMMON_CHROME_UTILITY_MESSAGES_H_ |
| 30 | 31 |
| 31 typedef std::vector<Tuple2<SkBitmap, base::FilePath> > DecodedImages; | 32 typedef std::vector<Tuple2<SkBitmap, base::FilePath> > DecodedImages; |
| 32 | 33 |
| 33 #endif // CHROME_COMMON_CHROME_UTILITY_MESSAGES_H_ | 34 #endif // CHROME_COMMON_CHROME_UTILITY_MESSAGES_H_ |
| 34 | 35 |
| (...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 399 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GetAndEncryptWiFiCredentials, | 400 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GetAndEncryptWiFiCredentials, |
| 400 std::string /* ssid */, | 401 std::string /* ssid */, |
| 401 std::vector<uint8> /* public_key */) | 402 std::vector<uint8> /* public_key */) |
| 402 | 403 |
| 403 // Reply after getting WiFi credentials from the system and encrypting them with | 404 // Reply after getting WiFi credentials from the system and encrypting them with |
| 404 // caller's public key. |success| is false if error occurred. | 405 // caller's public key. |success| is false if error occurred. |
| 405 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GotEncryptedWiFiCredentials, | 406 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GotEncryptedWiFiCredentials, |
| 406 std::vector<uint8> /* encrypted_key_data */, | 407 std::vector<uint8> /* encrypted_key_data */, |
| 407 bool /* success */) | 408 bool /* success */) |
| 408 #endif // defined(OS_WIN) | 409 #endif // defined(OS_WIN) |
| OLD | NEW |