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

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

Issue 10911306: Split Drive test utilities to drive_test_util and gdata_test_util (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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
(Empty)
1 #ifndef CHROME_BROWSER_CHROMEOS_GDATA_GDATA_TEST_UTIL_H_
2 #define CHROME_BROWSER_CHROMEOS_GDATA_GDATA_TEST_UTIL_H_
3
4 #include "chrome/browser/chromeos/gdata/gdata_test_util.h"
5
6 #include <string>
7
8 #include "base/memory/scoped_ptr.h"
9
10 class FilePath;
11
12 namespace base {
13 class Value;
14 }
15
16 namespace gdata {
17
kochi 2012/09/14 11:05:15 Don't need this blank line.
nhiroki 2012/09/14 11:12:05 Done.
18 namespace test_util {
19
20 // Runs a task posted to the blocking pool, including subsequent tasks posted
21 // to the UI message loop and the blocking pool.
22 //
23 // A task is often posted to the blocking pool with PostTaskAndReply(). In
24 // that case, a task is posted back to the UI message loop, which can again
25 // post a task to the blocking pool. This function processes these tasks
26 // repeatedly.
27 void RunBlockingPoolTask();
28
29 // Returns the absolute path for a test file stored under
30 // chrome/test/data/chromeos.
31 FilePath GetTestFilePath(const std::string& relative_path);
32
33 // Loads a test JSON file as a base::Value, from a test file stored under
34 // chrome/test/data/chromeos.
35 scoped_ptr<base::Value> LoadJSONFile(const std::string& relative_path);
36
37 } // namespace test_util
38
kochi 2012/09/14 11:05:15 Ditto
nhiroki 2012/09/14 11:12:05 Done.
39 } // namespace gdata
40
41 #endif // CHROME_BROWSER_CHROMEOS_GDATA_GDATA_TEST_UTIL_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/gdata/gdata_operations_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