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

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

Issue 5104002: Cleanup: Include browser.h -> ui/browser.h [Part 4]. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years, 1 month 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/show_options_url.cc ('k') | chrome/browser/sync/sync_setup_flow.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 "base/message_loop.h" 5 #include "base/message_loop.h"
6 #include "chrome/browser/browser.h"
7 #include "chrome/browser/defaults.h" 6 #include "chrome/browser/defaults.h"
8 #include "chrome/browser/prefs/pref_service.h" 7 #include "chrome/browser/prefs/pref_service.h"
9 #include "chrome/browser/profile.h" 8 #include "chrome/browser/profile.h"
10 #include "chrome/browser/net/gaia/token_service.h" 9 #include "chrome/browser/net/gaia/token_service.h"
11 #include "chrome/browser/sync/glue/sync_backend_host.h" 10 #include "chrome/browser/sync/glue/sync_backend_host.h"
12 #include "chrome/browser/sync/profile_sync_service_harness.h" 11 #include "chrome/browser/sync/profile_sync_service_harness.h"
13 #include "chrome/browser/sync/sessions/session_state.h" 12 #include "chrome/browser/sync/sessions/session_state.h"
14 #include "chrome/browser/tab_contents/tab_contents.h" 13 #include "chrome/browser/tab_contents/tab_contents.h"
14 #include "chrome/browser/ui/browser.h"
15 #include "chrome/common/net/gaia/gaia_constants.h" 15 #include "chrome/common/net/gaia/gaia_constants.h"
16 #include "chrome/common/net/gaia/google_service_auth_error.h" 16 #include "chrome/common/net/gaia/google_service_auth_error.h"
17 #include "chrome/common/notification_source.h" 17 #include "chrome/common/notification_source.h"
18 #include "chrome/common/pref_names.h" 18 #include "chrome/common/pref_names.h"
19 19
20 // The default value for min_timestamp_needed_ when we're not in the 20 // The default value for min_timestamp_needed_ when we're not in the
21 // WAITING_FOR_UPDATES state. 21 // WAITING_FOR_UPDATES state.
22 static const int kMinTimestampNeededNone = -1; 22 static const int kMinTimestampNeededNone = -1;
23 23
24 // The amount of time for which we wait for a live sync operation to complete. 24 // The amount of time for which we wait for a live sync operation to complete.
(...skipping 524 matching lines...) Expand 10 before | Expand all | Expand 10 after
549 << ", service_is_pushing_changes: " << ServiceIsPushingChanges(); 549 << ", service_is_pushing_changes: " << ServiceIsPushingChanges();
550 } else { 550 } else {
551 VLOG(1) << "Client " << id_ << ": " << message 551 VLOG(1) << "Client " << id_ << ": " << message
552 << ": Sync session snapshot not available."; 552 << ": Sync session snapshot not available.";
553 } 553 }
554 } else { 554 } else {
555 VLOG(1) << "Client " << id_ << ": " << message 555 VLOG(1) << "Client " << id_ << ": " << message
556 << ": Sync service not available."; 556 << ": Sync service not available.";
557 } 557 }
558 } 558 }
OLDNEW
« no previous file with comments | « chrome/browser/show_options_url.cc ('k') | chrome/browser/sync/sync_setup_flow.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698