OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "base/message_loop.h" | 5 #include "base/message_loop.h" |
6 #include "chrome/browser/browser.h" | 6 #include "chrome/browser/browser.h" |
7 #include "chrome/browser/defaults.h" | 7 #include "chrome/browser/defaults.h" |
8 #include "chrome/browser/pref_service.h" | 8 #include "chrome/browser/prefs/pref_service.h" |
9 #include "chrome/browser/profile.h" | 9 #include "chrome/browser/profile.h" |
10 #include "chrome/browser/sync/glue/sync_backend_host.h" | 10 #include "chrome/browser/sync/glue/sync_backend_host.h" |
11 #include "chrome/browser/sync/sessions/session_state.h" | 11 #include "chrome/browser/sync/sessions/session_state.h" |
12 #include "chrome/browser/tab_contents/tab_contents.h" | 12 #include "chrome/browser/tab_contents/tab_contents.h" |
13 #include "chrome/common/net/gaia/google_service_auth_error.h" | 13 #include "chrome/common/net/gaia/google_service_auth_error.h" |
14 #include "chrome/common/pref_names.h" | 14 #include "chrome/common/pref_names.h" |
15 #include "chrome/test/live_sync/profile_sync_service_test_harness.h" | 15 #include "chrome/test/live_sync/profile_sync_service_test_harness.h" |
16 #include "chrome/test/ui_test_utils.h" | 16 #include "chrome/test/ui_test_utils.h" |
17 #include "testing/gtest/include/gtest/gtest.h" | 17 #include "testing/gtest/include/gtest/gtest.h" |
18 | 18 |
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
339 << "has_more_to_sync: " << snap->has_more_to_sync | 339 << "has_more_to_sync: " << snap->has_more_to_sync |
340 << ", max_local_timestamp: " << snap->max_local_timestamp | 340 << ", max_local_timestamp: " << snap->max_local_timestamp |
341 << ", unsynced_count: " << snap->unsynced_count | 341 << ", unsynced_count: " << snap->unsynced_count |
342 << ", has_unsynced_items: " << service()->backend()->HasUnsyncedItems() | 342 << ", has_unsynced_items: " << service()->backend()->HasUnsyncedItems() |
343 << "."; | 343 << "."; |
344 } else { | 344 } else { |
345 LOG(INFO) << "Client " << id_ << ": " << message << ": " | 345 LOG(INFO) << "Client " << id_ << ": " << message << ": " |
346 << "Snap not available."; | 346 << "Snap not available."; |
347 } | 347 } |
348 } | 348 } |
OLD | NEW |