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

Unified Diff: chrome/browser/chromeos/gdata/gdata_test_util.h

Issue 10827211: Replace GDataDirectory::TakeEntry with GDataDirectoryService::AddEntryToDirectory. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: renames as per feedback 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/gdata/gdata_test_util.h
===================================================================
--- chrome/browser/chromeos/gdata/gdata_test_util.h (revision 150627)
+++ chrome/browser/chromeos/gdata/gdata_test_util.h (working copy)
@@ -9,6 +9,8 @@
#include "chrome/browser/chromeos/gdata/gdata_errorcode.h"
#include "chrome/browser/chromeos/gdata/gdata_files.h"
+class FilePath;
+
namespace gdata {
class GDataEntryProto;
@@ -44,9 +46,15 @@
// Copies |error| to |output|. Used to run asynchronous functions that take
// FileOperationCallback from tests.
-void CopyErrorCodeFromFileOperationCallback(
- GDataFileError* output, GDataFileError error);
+void CopyErrorCodeFromFileOperationCallback(GDataFileError* output,
+ GDataFileError error);
+// Copies |error| to |output|. Used to run asynchronous functions that take
+// FileMoveCallback from tests.
+void CopyErrorCodeFromFileMoveCallback(GDataFileError* output,
satorux1 2012/08/09 00:26:24 I think we should also copy the path. See my comme
achuithb 2012/08/09 01:41:32 Done.
+ GDataFileError error,
+ const FilePath& updated_file_path);
satorux1 2012/08/09 00:26:24 moved_file_path
achuithb 2012/08/09 01:41:32 Replaced here and elsewhere.
+
// Copies |error| and |entry_proto| to |out_error| and |out_entry_proto|
// respectively. Used to run asynchronous functions that take
// GetEntryInfoCallback from tests.

Powered by Google App Engine
This is Rietveld 408576698