summaryrefslogtreecommitdiffstats
path: root/chrome/test/sync
diff options
context:
space:
mode:
authorakalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-16 05:52:33 +0000
committerakalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-16 05:52:33 +0000
commit3429e58d3540e6973db5a7661cbbd2dd1997ac61 (patch)
treef2cccb493a33f25eaf504d98e6936fb05a43c424 /chrome/test/sync
parent36cd42f16e38b8ed0133d71f503848b4577d402f (diff)
downloadchromium_src-3429e58d3540e6973db5a7661cbbd2dd1997ac61.zip
chromium_src-3429e58d3540e6973db5a7661cbbd2dd1997ac61.tar.gz
chromium_src-3429e58d3540e6973db5a7661cbbd2dd1997ac61.tar.bz2
Made sync code build and pass unit tests on OS X.
Major changes: - Moved sync_setup_{flow,wizard} to sync directory. - Made browser_with_test_window_test compile on non-Windows platform. - Moved localized contents font util functions to app/. BUG=23073 TEST=trybot Review URL: http://codereview.chromium.org/279004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29253 0039d316-1c4b-4281-b951-d872f2087c98
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)