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

Unified Diff: chrome/browser/sync/notifier/sync_notifier_factory.cc

Issue 9602026: [Sync] Remove dependencies on BrowserThread from sync (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/sync/notifier/sync_notifier_factory.cc
diff --git a/chrome/browser/sync/notifier/sync_notifier_factory.cc b/chrome/browser/sync/notifier/sync_notifier_factory.cc
index 9542f5fc327d45ed6397bab6ee64cd18dbaabac0..c5bf289210ba71a7330df2114b9d1ee0c9d89b2a 100644
--- a/chrome/browser/sync/notifier/sync_notifier_factory.cc
+++ b/chrome/browser/sync/notifier/sync_notifier_factory.cc
@@ -14,15 +14,12 @@
#include "chrome/browser/sync/notifier/p2p_notifier.h"
#include "chrome/browser/sync/notifier/sync_notifier.h"
#include "chrome/common/chrome_switches.h"
-#include "content/public/browser/browser_thread.h"
#include "jingle/notifier/base/const_communicator.h"
#include "jingle/notifier/base/notifier_options.h"
#include "jingle/notifier/listener/mediator_thread_impl.h"
#include "jingle/notifier/listener/talk_mediator_impl.h"
#include "net/base/host_port_pair.h"
-using content::BrowserThread;
-
namespace sync_notifier {
namespace {
@@ -132,11 +129,9 @@ SyncNotifierFactory::SyncNotifierFactory(
InvalidationVersionMap()),
invalidation_version_tracker_(invalidation_version_tracker),
command_line_(command_line) {
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
}
SyncNotifierFactory::~SyncNotifierFactory() {
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
}
SyncNotifier* SyncNotifierFactory::CreateSyncNotifier() {
« no previous file with comments | « chrome/browser/sync/notifier/sync_notifier_factory.h ('k') | chrome/browser/sync/notifier/sync_notifier_factory_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698