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 "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "base/memory/scoped_vector.h" | 10 #include "base/memory/scoped_vector.h" |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 const IPC::PlatformFileForTransit& itunes_library_file); | 115 const IPC::PlatformFileForTransit& itunes_library_file); |
116 | 116 |
117 void OnParsePicasaPMPDatabase( | 117 void OnParsePicasaPMPDatabase( |
118 const picasa::AlbumTableFilesForTransit& album_table_files); | 118 const picasa::AlbumTableFilesForTransit& album_table_files); |
119 | 119 |
120 void OnIndexPicasaAlbumsContents( | 120 void OnIndexPicasaAlbumsContents( |
121 const picasa::AlbumUIDSet& album_uids, | 121 const picasa::AlbumUIDSet& album_uids, |
122 const std::vector<picasa::FolderINIContents>& folders_inis); | 122 const std::vector<picasa::FolderINIContents>& folders_inis); |
123 #endif // defined(OS_WIN) || defined(OS_MACOSX) | 123 #endif // defined(OS_WIN) || defined(OS_MACOSX) |
124 | 124 |
| 125 #if defined(OS_WIN) |
| 126 void OnGetAndEncryptWiFiCredentials(const std::string& network_guid, |
| 127 const std::vector<uint8>& public_key); |
| 128 #endif // defined(OS_WIN) |
| 129 |
125 typedef ScopedVector<UtilityMessageHandler> Handlers; | 130 typedef ScopedVector<UtilityMessageHandler> Handlers; |
126 Handlers handlers_; | 131 Handlers handlers_; |
127 | 132 |
128 // Flag to enable whitelisting. | 133 // Flag to enable whitelisting. |
129 bool filter_messages_; | 134 bool filter_messages_; |
130 // A list of message_ids to filter. | 135 // A list of message_ids to filter. |
131 std::set<int> message_id_whitelist_; | 136 std::set<int> message_id_whitelist_; |
132 | 137 |
133 DISALLOW_COPY_AND_ASSIGN(ChromeContentUtilityClient); | 138 DISALLOW_COPY_AND_ASSIGN(ChromeContentUtilityClient); |
134 }; | 139 }; |
135 | 140 |
136 } // namespace chrome | 141 } // namespace chrome |
137 | 142 |
138 #endif // CHROME_UTILITY_CHROME_CONTENT_UTILITY_CLIENT_H_ | 143 #endif // CHROME_UTILITY_CHROME_CONTENT_UTILITY_CLIENT_H_ |
OLD | NEW |