OLD | NEW |
| (Empty) |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_PICASA_PICASA_FINDER_H_ | |
6 #define CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_PICASA_PICASA_FINDER_H_ | |
7 | |
8 #include <string> | |
9 | |
10 #include "base/callback.h" | |
11 | |
12 namespace picasa { | |
13 | |
14 namespace PicasaFinder { | |
15 | |
16 typedef base::Callback<void(const std::string&)> DeviceIDCallback; | |
17 | |
18 // Bounces to FILE thread to find Picasa database. If the platform supports | |
19 // Picasa and a Picasa database is found, |callback| will be invoked on the | |
20 // calling thread. Otherwise, |callback| is not invoked. | |
21 void FindPicasaDatabase(const DeviceIDCallback& callback); | |
22 | |
23 } | |
24 | |
25 } // namespace picasa | |
26 | |
27 #endif // CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_PICASA_PICASA_FINDER_H_ | |
OLD | NEW |