summaryrefslogtreecommitdiffstats
path: root/chrome/test/sync
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/test/sync')
-rw-r--r--chrome/test/sync/engine/mock_server_connection.cc5
-rw-r--r--chrome/test/sync/engine/test_directory_setter_upper.cc6
2 files changed, 3 insertions, 8 deletions
diff --git a/chrome/test/sync/engine/mock_server_connection.cc b/chrome/test/sync/engine/mock_server_connection.cc
index 372d408..b2af891 100644
--- a/chrome/test/sync/engine/mock_server_connection.cc
+++ b/chrome/test/sync/engine/mock_server_connection.cc
@@ -43,9 +43,9 @@ MockConnectionManager::MockConnectionManager(DirectoryManager* dirmgr,
directory_name_(name),
mid_commit_callback_function_(NULL),
mid_commit_observer_(NULL),
- client_command_(NULL),
throttling_(false),
fail_non_periodic_get_updates_(false),
+ client_command_(NULL),
next_position_in_parent_(2) {
server_reachable_ = true;
};
@@ -405,4 +405,5 @@ void MockConnectionManager::ThrottleNextRequest(
throttling_ = true;
if (visitor)
visitor->VisitAtomically();
-} \ No newline at end of file
+}
+
diff --git a/chrome/test/sync/engine/test_directory_setter_upper.cc b/chrome/test/sync/engine/test_directory_setter_upper.cc
index 2685795..9e910f0 100644
--- a/chrome/test/sync/engine/test_directory_setter_upper.cc
+++ b/chrome/test/sync/engine/test_directory_setter_upper.cc
@@ -85,12 +85,6 @@ void ManuallyOpenedTestDirectorySetterUpper::TearDown() {
TestDirectorySetterUpper::TearDown();
}
}
-
-static PathString UTF8ToPathStringQuick(const std::string &str) {
- PathString ret;
- CHECK(browser_sync::UTF8ToPathString(str.data(), str.size(), &ret));
- return ret;
-}
TriggeredOpenTestDirectorySetterUpper::TriggeredOpenTestDirectorySetterUpper(
const std::string& name)