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

Unified Diff: chrome/common/media_galleries/pmp_test_helper.h

Issue 23499006: Media Galleries API Picasa: Add file watch to invalidate database data on disk write. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/media_galleries/pmp_test_helper.h
diff --git a/chrome/common/media_galleries/pmp_test_helper.h b/chrome/common/media_galleries/pmp_test_helper.h
index 2de645293fdfa312939266e923e9c98485c0ca49..724dd6b1060f86aeaf7e62859c517fd0277bf08c 100644
--- a/chrome/common/media_galleries/pmp_test_helper.h
+++ b/chrome/common/media_galleries/pmp_test_helper.h
@@ -20,13 +20,14 @@ namespace picasa {
class PmpColumnReader;
-// A helper class used for unit tests only
+// A helper class used for tests only
class PmpTestHelper {
public:
explicit PmpTestHelper(const std::string& table_name);
bool Init();
+ base::FilePath GetDatabaseDirPath();
base::FilePath GetTempDirPath();
template<class T>
@@ -44,7 +45,7 @@ class PmpTestHelper {
private:
std::string table_name_;
- base::ScopedTempDir temp_dir_;
+ base::ScopedTempDir root_dir_;
};
} // namespace picasa

Powered by Google App Engine
This is Rietveld 408576698