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

Unified Diff: chrome/test/sync/engine/mock_server_connection.h

Issue 235010: Reverting 27117. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 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
« no previous file with comments | « chrome/common/chrome_switches.cc ('k') | chrome/test/sync/engine/mock_server_connection.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/sync/engine/mock_server_connection.h
===================================================================
--- chrome/test/sync/engine/mock_server_connection.h (revision 27123)
+++ chrome/test/sync/engine/mock_server_connection.h (working copy)
@@ -31,10 +31,6 @@
// activity would normally take place. This aids simulation of race
// conditions.
typedef bool (*TestCallbackFunction)(syncable::Directory* dir);
- class MidCommitObserver {
- public:
- virtual void Observe() = 0;
- };
MockConnectionManager(syncable::DirectoryManager* dirmgr, PathString name);
virtual ~MockConnectionManager();
@@ -49,7 +45,6 @@
// Control of commit response.
void SetMidCommitCallbackFunction(TestCallbackFunction callback);
- void SetMidCommitObserver(MidCommitObserver* observer);
// Set this if you want commit to perform commit time rename. Will request
// that the client renames all commited entries, prepending this string.
@@ -182,13 +177,11 @@
bool fail_next_postbuffer_;
// Our directory.
- syncable::DirectoryManager* directory_manager_;
- PathString directory_name_;
+ syncable::ScopedDirLookup directory_;
// The updates we'll return to the next request.
sync_pb::GetUpdatesResponse updates_;
TestCallbackFunction mid_commit_callback_function_;
- MidCommitObserver* mid_commit_observer_;
scoped_ptr<sync_pb::ClientCommand> client_command_;
« no previous file with comments | « chrome/common/chrome_switches.cc ('k') | chrome/test/sync/engine/mock_server_connection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698