| Index: chrome/browser/sync/test/integration/sync_test.cc
|
| diff --git a/chrome/browser/sync/test/integration/sync_test.cc b/chrome/browser/sync/test/integration/sync_test.cc
|
| index 047674ab9bdd75d5bbd8023841616a56151a0977..62685f0d19c713f771ecbb06a31e57bb211675c9 100644
|
| --- a/chrome/browser/sync/test/integration/sync_test.cc
|
| +++ b/chrome/browser/sync/test/integration/sync_test.cc
|
| @@ -145,7 +145,8 @@ class SyncServerStatusChecker : public net::URLFetcherDelegate {
|
| source->GetResponseAsString(&data);
|
| running_ =
|
| (source->GetStatus().status() == net::URLRequestStatus::SUCCESS &&
|
| - source->GetResponseCode() == 200 && data.find("ok") == 0);
|
| + source->GetResponseCode() == 200 &&
|
| + base::StartsWith(data, "ok", base::CompareCase::SENSITIVE));
|
| base::MessageLoop::current()->QuitWhenIdle();
|
| }
|
|
|
|
|