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

Unified Diff: chrome/browser/sync/glue/sync_backend_host.h

Issue 6621062: Refactor sync notifier out of sync api. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Minox fixes. Created 9 years, 9 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
« no previous file with comments | « chrome/browser/sync/engine/syncer_thread.cc ('k') | chrome/browser/sync/glue/sync_backend_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/glue/sync_backend_host.h
diff --git a/chrome/browser/sync/glue/sync_backend_host.h b/chrome/browser/sync/glue/sync_backend_host.h
index a8229943be4c55e2f9514e0d2faca5c44d63ebba..22047334896e310621e88a41255b9ea7e7f178e9 100644
--- a/chrome/browser/sync/glue/sync_backend_host.h
+++ b/chrome/browser/sync/glue/sync_backend_host.h
@@ -28,15 +28,10 @@
#include "chrome/common/net/gaia/google_service_auth_error.h"
#include "chrome/common/net/url_request_context_getter.h"
#include "googleurl/src/gurl.h"
-#include "jingle/notifier/base/notifier_options.h"
class CancelableTask;
class Profile;
-namespace notifier {
-struct NotifierOptions;
-}
-
namespace browser_sync {
namespace sessions {
@@ -128,8 +123,7 @@ class SyncBackendHost : public browser_sync::ModelSafeWorkerRegistrar {
const syncable::ModelTypeSet& types,
URLRequestContextGetter* baseline_context_getter,
const sync_api::SyncCredentials& credentials,
- bool delete_sync_data_folder,
- const notifier::NotifierOptions& notifier_options);
+ bool delete_sync_data_folder);
// Called from |frontend_loop| to update SyncCredentials.
void UpdateCredentials(const sync_api::SyncCredentials& credentials);
@@ -308,7 +302,6 @@ class SyncBackendHost : public browser_sync::ModelSafeWorkerRegistrar {
sync_api::HttpPostProviderFactory* http_bridge_factory,
const sync_api::SyncCredentials& credentials,
bool delete_sync_data_folder,
- const notifier::NotifierOptions& notifier_options,
std::string restored_key_for_bootstrapping,
bool setup_for_test_mode);
~DoInitializeOptions();
@@ -318,7 +311,6 @@ class SyncBackendHost : public browser_sync::ModelSafeWorkerRegistrar {
sync_api::SyncCredentials credentials;
std::string lsid;
bool delete_sync_data_folder;
- notifier::NotifierOptions notifier_options;
std::string restored_key_for_bootstrapping;
bool setup_for_test_mode;
};
@@ -409,7 +401,7 @@ class SyncBackendHost : public browser_sync::ModelSafeWorkerRegistrar {
credentials.sync_token = "token";
DoInitialize(DoInitializeOptions(GURL(), factory, credentials,
delete_sync_data_folder,
- notifier::NotifierOptions(), "", true));
+ "", true));
}
#endif
« no previous file with comments | « chrome/browser/sync/engine/syncer_thread.cc ('k') | chrome/browser/sync/glue/sync_backend_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698