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

Side by Side Diff: chrome/browser/sync/profile_sync_service_harness.cc

Issue 6335001: Cleanup: Remove unneeded chrome/browser/prefs/pref_service.h usage.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/sync/glue/theme_util.cc ('k') | chrome/browser/tab_contents/navigation_entry.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "chrome/browser/sync/profile_sync_service_harness.h" 5 #include "chrome/browser/sync/profile_sync_service_harness.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/message_loop.h" 10 #include "base/message_loop.h"
11 #include "chrome/browser/prefs/pref_service.h"
12 #include "chrome/browser/profiles/profile.h" 11 #include "chrome/browser/profiles/profile.h"
13 #include "chrome/browser/net/gaia/token_service.h" 12 #include "chrome/browser/net/gaia/token_service.h"
14 #include "chrome/browser/sync/glue/sync_backend_host.h" 13 #include "chrome/browser/sync/glue/sync_backend_host.h"
15 #include "chrome/browser/sync/sessions/session_state.h" 14 #include "chrome/browser/sync/sessions/session_state.h"
16 #include "chrome/common/net/gaia/gaia_constants.h" 15 #include "chrome/common/net/gaia/gaia_constants.h"
17 #include "chrome/common/net/gaia/google_service_auth_error.h" 16 #include "chrome/common/net/gaia/google_service_auth_error.h"
18 #include "chrome/common/notification_source.h" 17 #include "chrome/common/notification_source.h"
19 18
20 // The amount of time for which we wait for a live sync operation to complete. 19 // The amount of time for which we wait for a live sync operation to complete.
21 static const int kLiveSyncOperationTimeoutMs = 45000; 20 static const int kLiveSyncOperationTimeoutMs = 45000;
(...skipping 569 matching lines...) Expand 10 before | Expand all | Expand 10 after
591 << ", service_is_pushing_changes: " << ServiceIsPushingChanges(); 590 << ", service_is_pushing_changes: " << ServiceIsPushingChanges();
592 } else { 591 } else {
593 VLOG(1) << "Client " << id_ << ": " << message 592 VLOG(1) << "Client " << id_ << ": " << message
594 << ": Sync session snapshot not available."; 593 << ": Sync session snapshot not available.";
595 } 594 }
596 } else { 595 } else {
597 VLOG(1) << "Client " << id_ << ": " << message 596 VLOG(1) << "Client " << id_ << ": " << message
598 << ": Sync service not available."; 597 << ": Sync service not available.";
599 } 598 }
600 } 599 }
OLDNEW
« no previous file with comments | « chrome/browser/sync/glue/theme_util.cc ('k') | chrome/browser/tab_contents/navigation_entry.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698