Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(350)

Side by Side Diff: chrome/browser/media_galleries/fileapi/picasa_finder.h

Issue 23513059: Media Galleries API Picasa: End-to-end browsertest. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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_FINDER_H_ 5 #ifndef CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_PICASA_FINDER_H_
6 #define CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_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 {
15
16 typedef base::Callback<void(const std::string&)> DeviceIDCallback; 14 typedef base::Callback<void(const std::string&)> DeviceIDCallback;
17 15
18 // Bounces to FILE thread to find Picasa database. If the platform supports 16 // 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 17 // Picasa and a Picasa database is found, |callback| will be invoked on the
20 // calling thread with the device ID. Otherwise, |callback| will be invoked 18 // calling thread with the device ID. Otherwise, |callback| will be invoked
21 // with an empty string. 19 // with an empty string.
22 void FindPicasaDatabase(const DeviceIDCallback& callback); 20 void FindPicasaDatabase(const DeviceIDCallback& callback);
23 21
24 }
25
26 } // namespace picasa 22 } // namespace picasa
27 23
28 #endif // CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_PICASA_FINDER_H_ 24 #endif // CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_PICASA_FINDER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698