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

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

Issue 10831212: gdata: Add GDataDirectoryService::GetEntryInfoPairByPaths() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address comments Created 8 years, 4 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 (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_BROWSER_CHROMEOS_GDATA_GDATA_TEST_UTIL_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_GDATA_GDATA_TEST_UTIL_H_
6 #define CHROME_BROWSER_CHROMEOS_GDATA_GDATA_TEST_UTIL_H_ 6 #define CHROME_BROWSER_CHROMEOS_GDATA_GDATA_TEST_UTIL_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "chrome/browser/chromeos/gdata/gdata_errorcode.h" 9 #include "chrome/browser/chromeos/gdata/gdata_errorcode.h"
10 #include "chrome/browser/chromeos/gdata/gdata_files.h" 10 #include "chrome/browser/chromeos/gdata/gdata_files.h"
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 58
59 // Copies |error| and |entries| to |out_error| and |out_entries| 59 // Copies |error| and |entries| to |out_error| and |out_entries|
60 // respectively. Used to run asynchronous functions that take 60 // respectively. Used to run asynchronous functions that take
61 // GetEntryInfoCallback from tests. 61 // GetEntryInfoCallback from tests.
62 void CopyResultsFromReadDirectoryCallback( 62 void CopyResultsFromReadDirectoryCallback(
63 GDataFileError* out_error, 63 GDataFileError* out_error,
64 scoped_ptr<GDataEntryProtoVector>* out_entries, 64 scoped_ptr<GDataEntryProtoVector>* out_entries,
65 GDataFileError error, 65 GDataFileError error,
66 scoped_ptr<GDataEntryProtoVector> entries); 66 scoped_ptr<GDataEntryProtoVector> entries);
67 67
68 // Copies |result| |out_result|. Used to run asynchronous functions that take
69 // GetEntryInfoPairCallback from tests.
70 void CopyResultsFromGetEntryInfoPairCallback(
71 scoped_ptr<EntryInfoPairResult>* out_result,
72 scoped_ptr<EntryInfoPairResult> result);
73
68 } // namespace test_util 74 } // namespace test_util
69 } // namespace gdata 75 } // namespace gdata
70 76
71 #endif // CHROME_BROWSER_CHROMEOS_GDATA_GDATA_TEST_UTIL_H_ 77 #endif // CHROME_BROWSER_CHROMEOS_GDATA_GDATA_TEST_UTIL_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/gdata/gdata_files_unittest.cc ('k') | chrome/browser/chromeos/gdata/gdata_test_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698