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

Unified Diff: chrome/browser/chromeos/gdata/gdata_cache_unittest.cc

Issue 10790135: chromeos: Rename MockGDataSyncClient to MocKGDataCacheObserver (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/gdata/gdata_file_system_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/gdata/gdata_cache_unittest.cc
diff --git a/chrome/browser/chromeos/gdata/gdata_cache_unittest.cc b/chrome/browser/chromeos/gdata/gdata_cache_unittest.cc
index 40753a86ee39988f46a993641577d3b4b5f40003..b4805e5cbf60c8b05ae32f3c16665b41892c63be 100644
--- a/chrome/browser/chromeos/gdata/gdata_cache_unittest.cc
+++ b/chrome/browser/chromeos/gdata/gdata_cache_unittest.cc
@@ -13,6 +13,7 @@
#include "chrome/browser/chromeos/gdata/gdata_file_system.h"
#include "chrome/browser/chromeos/gdata/gdata_test_util.h"
#include "chrome/browser/chromeos/gdata/gdata_util.h"
+#include "chrome/browser/chromeos/gdata/mock_gdata_cache_observer.h"
#include "chrome/common/chrome_paths.h"
#include "chrome/test/base/testing_profile.h"
#include "content/public/test/test_browser_thread.h"
@@ -97,15 +98,6 @@ class MockFreeDiskSpaceGetter : public FreeDiskSpaceGetterInterface {
MOCK_CONST_METHOD0(AmountOfFreeDiskSpace, int64());
};
-class MockGDataCacheObserver : public GDataCache::Observer {
- public:
- MOCK_METHOD2(OnCachePinned, void(const std::string& resource_id,
- const std::string& md5));
- MOCK_METHOD2(OnCacheUnpinned, void(const std::string& resource_id,
- const std::string& md5));
- MOCK_METHOD1(OnCacheCommitted, void(const std::string& resource_id));
-};
-
} // namespace
class GDataCacheTest : public testing::Test {
« no previous file with comments | « no previous file | chrome/browser/chromeos/gdata/gdata_file_system_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698