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

Unified Diff: chrome/browser/sync/engine/syncer_thread.h

Issue 3305003: New authorization framework for sync. ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 3 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/engine/syncer_thread.h
===================================================================
--- chrome/browser/sync/engine/syncer_thread.h (revision 58702)
+++ chrome/browser/sync/engine/syncer_thread.h (working copy)
@@ -29,11 +29,6 @@
class EventListenerHookup;
-namespace syncable {
-class DirectoryManager;
-struct DirectoryManagerEvent;
-}
-
namespace browser_sync {
class ModelSafeWorker;
@@ -138,6 +133,9 @@
virtual SyncerEventChannel* relay_channel();
+ // Call this when a directory is opened
+ void CreateSyncer(const std::string& dirname);
+
// DDOS avoidance function. The argument and return value is in seconds
static int GetRecommendedDelaySeconds(int base_delay_seconds);
@@ -230,8 +228,6 @@
friend void* RunSyncerThread(void* syncer_thread);
void* Run();
- void HandleDirectoryManagerEvent(
- const syncable::DirectoryManagerEvent& event);
void HandleChannelEvent(const SyncerEvent& event);
// SyncSession::Delegate implementation.
@@ -323,7 +319,6 @@
// this is called.
void NudgeSyncImpl(int milliseconds_from_now, NudgeSource source);
- scoped_ptr<EventListenerHookup> directory_manager_hookup_;
scoped_ptr<ChannelHookup<SyncerEvent> > syncer_events_;
#if defined(OS_LINUX)

Powered by Google App Engine
This is Rietveld 408576698