| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "chrome/common/extensions/update_manifest.h" | |
| 13 #include "chrome/common/media_galleries/iphoto_library.h" | 12 #include "chrome/common/media_galleries/iphoto_library.h" |
| 14 #include "chrome/common/media_galleries/itunes_library.h" | 13 #include "chrome/common/media_galleries/itunes_library.h" |
| 15 #include "chrome/common/media_galleries/metadata_types.h" | 14 #include "chrome/common/media_galleries/metadata_types.h" |
| 16 #include "chrome/common/media_galleries/picasa_types.h" | 15 #include "chrome/common/media_galleries/picasa_types.h" |
| 16 #include "extensions/common/update_manifest.h" |
| 17 #include "ipc/ipc_message_macros.h" | 17 #include "ipc/ipc_message_macros.h" |
| 18 #include "ipc/ipc_platform_file.h" | 18 #include "ipc/ipc_platform_file.h" |
| 19 | 19 |
| 20 #if !defined(ENABLE_EXTENSIONS) | 20 #if !defined(ENABLE_EXTENSIONS) |
| 21 #error "Extensions must be enabled" | 21 #error "Extensions must be enabled" |
| 22 #endif | 22 #endif |
| 23 | 23 |
| 24 #define IPC_MESSAGE_START ChromeUtilityExtensionsMsgStart | 24 #define IPC_MESSAGE_START ChromeUtilityExtensionsMsgStart |
| 25 | 25 |
| 26 IPC_STRUCT_TRAITS_BEGIN(UpdateManifest::Result) | 26 IPC_STRUCT_TRAITS_BEGIN(UpdateManifest::Result) |
| (...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 295 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GetAndEncryptWiFiCredentials, | 295 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GetAndEncryptWiFiCredentials, |
| 296 std::string /* ssid */, | 296 std::string /* ssid */, |
| 297 std::vector<uint8> /* public_key */) | 297 std::vector<uint8> /* public_key */) |
| 298 | 298 |
| 299 // Reply after getting WiFi credentials from the system and encrypting them with | 299 // Reply after getting WiFi credentials from the system and encrypting them with |
| 300 // caller's public key. |success| is false if error occurred. | 300 // caller's public key. |success| is false if error occurred. |
| 301 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GotEncryptedWiFiCredentials, | 301 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GotEncryptedWiFiCredentials, |
| 302 std::vector<uint8> /* encrypted_key_data */, | 302 std::vector<uint8> /* encrypted_key_data */, |
| 303 bool /* success */) | 303 bool /* success */) |
| 304 #endif // defined(OS_WIN) | 304 #endif // defined(OS_WIN) |
| OLD | NEW |