| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 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_BROWSER_MEDIA_GALLERIES_FILEAPI_PICASA_PICASA_FINDER_H_ | 5 #ifndef CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_PICASA_FINDER_H_ |
| 6 #define CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_PICASA_PICASA_FINDER_H_ | 6 #define CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_PICASA_FINDER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/callback.h" | 10 #include "base/callback.h" |
| 11 | 11 |
| 12 namespace picasa { | 12 namespace picasa { |
| 13 | 13 |
| 14 namespace PicasaFinder { | 14 namespace PicasaFinder { |
| 15 | 15 |
| 16 typedef base::Callback<void(const std::string&)> DeviceIDCallback; | 16 typedef base::Callback<void(const std::string&)> DeviceIDCallback; |
| 17 | 17 |
| 18 // Bounces to FILE thread to find Picasa database. If the platform supports | 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 | 19 // Picasa and a Picasa database is found, |callback| will be invoked on the |
| 20 // calling thread. Otherwise, |callback| is not invoked. | 20 // calling thread. Otherwise, |callback| is not invoked. |
| 21 void FindPicasaDatabase(const DeviceIDCallback& callback); | 21 void FindPicasaDatabase(const DeviceIDCallback& callback); |
| 22 | 22 |
| 23 } | 23 } |
| 24 | 24 |
| 25 } // namespace picasa | 25 } // namespace picasa |
| 26 | 26 |
| 27 #endif // CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_PICASA_PICASA_FINDER_H_ | 27 #endif // CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_PICASA_FINDER_H_ |
| OLD | NEW |