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/files/file.h" | 9 #include "base/files/file.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 | 129 |
130 void OnParsePicasaPMPDatabase( | 130 void OnParsePicasaPMPDatabase( |
131 const picasa::AlbumTableFilesForTransit& album_table_files); | 131 const picasa::AlbumTableFilesForTransit& album_table_files); |
132 | 132 |
133 void OnIndexPicasaAlbumsContents( | 133 void OnIndexPicasaAlbumsContents( |
134 const picasa::AlbumUIDSet& album_uids, | 134 const picasa::AlbumUIDSet& album_uids, |
135 const std::vector<picasa::FolderINIContents>& folders_inis); | 135 const std::vector<picasa::FolderINIContents>& folders_inis); |
136 #endif // defined(OS_WIN) || defined(OS_MACOSX) | 136 #endif // defined(OS_WIN) || defined(OS_MACOSX) |
137 | 137 |
138 #if defined(OS_WIN) | 138 #if defined(OS_WIN) |
139 void OnGetAndEncryptWiFiCredentials(const std::string& network_guid, | 139 void OnGetWiFiCredentials(const std::string& network_guid); |
140 const std::vector<uint8>& public_key); | |
141 #endif // defined(OS_WIN) | 140 #endif // defined(OS_WIN) |
142 | 141 |
143 typedef ScopedVector<UtilityMessageHandler> Handlers; | 142 typedef ScopedVector<UtilityMessageHandler> Handlers; |
144 Handlers handlers_; | 143 Handlers handlers_; |
145 | 144 |
146 // Flag to enable whitelisting. | 145 // Flag to enable whitelisting. |
147 bool filter_messages_; | 146 bool filter_messages_; |
148 // A list of message_ids to filter. | 147 // A list of message_ids to filter. |
149 std::set<int> message_id_whitelist_; | 148 std::set<int> message_id_whitelist_; |
150 | 149 |
151 DISALLOW_COPY_AND_ASSIGN(ChromeContentUtilityClient); | 150 DISALLOW_COPY_AND_ASSIGN(ChromeContentUtilityClient); |
152 }; | 151 }; |
153 | 152 |
154 } // namespace chrome | 153 } // namespace chrome |
155 | 154 |
156 #endif // CHROME_UTILITY_CHROME_CONTENT_UTILITY_CLIENT_H_ | 155 #endif // CHROME_UTILITY_CHROME_CONTENT_UTILITY_CLIENT_H_ |
OLD | NEW |