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 #if !defined(OS_ANDROID) && !defined(OS_IOS) | 133 #if !defined(OS_ANDROID) && !defined(OS_IOS) |
129 scoped_ptr<metadata::MediaMetadataParser> media_metadata_parser_; | 134 scoped_ptr<metadata::MediaMetadataParser> media_metadata_parser_; |
130 #endif // !defined(OS_ANDROID) && !defined(OS_IOS) | 135 #endif // !defined(OS_ANDROID) && !defined(OS_IOS) |
131 | 136 |
132 // Flag to enable whitelisting. | 137 // Flag to enable whitelisting. |
133 bool filter_messages_; | 138 bool filter_messages_; |
134 // A list of message_ids to filter. | 139 // A list of message_ids to filter. |
135 std::set<int> message_id_whitelist_; | 140 std::set<int> message_id_whitelist_; |
136 | 141 |
137 DISALLOW_COPY_AND_ASSIGN(ChromeContentUtilityClient); | 142 DISALLOW_COPY_AND_ASSIGN(ChromeContentUtilityClient); |
138 }; | 143 }; |
139 | 144 |
140 } // namespace chrome | 145 } // namespace chrome |
141 | 146 |
142 #endif // CHROME_UTILITY_CHROME_CONTENT_UTILITY_CLIENT_H_ | 147 #endif // CHROME_UTILITY_CHROME_CONTENT_UTILITY_CLIENT_H_ |
OLD | NEW |