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

Side by Side Diff: chrome/browser/chromeos/gdata/find_entry_callback.h

Issue 10538071: gdata: Convert FindEntryByResourceIdSync() to asynchronous. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase svn:trunk/src@141679 and resolve conflicts. Created 8 years, 6 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/gdata/find_entry_callback.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_CHROMEOS_GDATA_FIND_ENTRY_CALLBACK_H_
6 #define CHROME_BROWSER_CHROMEOS_GDATA_FIND_ENTRY_CALLBACK_H_
7 #pragma once
8
9 #include "base/callback.h"
10 #include "base/platform_file.h"
11
12 namespace gdata {
13
14 class GDataEntry;
15
16 // Used to get result of file search. Please note that |file| is a live
17 // object provided to this callback under lock. It must not be used outside
18 // of the callback method. This callback can be invoked on different thread
19 // than one that started the request.
20 typedef base::Callback<void(base::PlatformFileError error, GDataEntry* entry)>
21 FindEntryCallback;
22
23 // Callback used to find a directory element for file system updates.
24 void ReadOnlyFindEntryCallback(GDataEntry** out,
25 base::PlatformFileError error,
26 GDataEntry* entry);
27
28 } // namespace gdata
29
30 #endif // CHROME_BROWSER_CHROMEOS_GDATA_FIND_ENTRY_CALLBACK_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/gdata/find_entry_callback.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698