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

Side by Side Diff: chrome/browser/sync/glue/sync_backend_host_impl.h

Issue 1410013008: [Sync] Remove some http-related chrome deps from SyncBackendHostImpl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove unnecessary includes/forward decls. Created 5 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #ifndef CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_IMPL_H_ 5 #ifndef CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_IMPL_H_
6 #define CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_IMPL_H_ 6 #define CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 22 matching lines...) Expand all
33 33
34 namespace base { 34 namespace base {
35 class MessageLoop; 35 class MessageLoop;
36 } 36 }
37 37
38 namespace invalidation { 38 namespace invalidation {
39 class InvalidationService; 39 class InvalidationService;
40 } 40 }
41 41
42 namespace syncer { 42 namespace syncer {
43 class NetworkResources;
44 class SyncManagerFactory; 43 class SyncManagerFactory;
45 class UnrecoverableErrorHandler; 44 class UnrecoverableErrorHandler;
46 } 45 }
47 46
48 namespace sync_driver { 47 namespace sync_driver {
49 class SyncClient; 48 class SyncClient;
50 class SyncPrefs; 49 class SyncPrefs;
51 } 50 }
52 51
53 namespace browser_sync { 52 namespace browser_sync {
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 const scoped_refptr<base::SingleThreadTaskRunner>& file_thread, 87 const scoped_refptr<base::SingleThreadTaskRunner>& file_thread,
89 const syncer::WeakHandle<syncer::JsEventHandler>& event_handler, 88 const syncer::WeakHandle<syncer::JsEventHandler>& event_handler,
90 const GURL& service_url, 89 const GURL& service_url,
91 const std::string& sync_user_agent, 90 const std::string& sync_user_agent,
92 const syncer::SyncCredentials& credentials, 91 const syncer::SyncCredentials& credentials,
93 bool delete_sync_data_folder, 92 bool delete_sync_data_folder,
94 scoped_ptr<syncer::SyncManagerFactory> sync_manager_factory, 93 scoped_ptr<syncer::SyncManagerFactory> sync_manager_factory,
95 const syncer::WeakHandle<syncer::UnrecoverableErrorHandler>& 94 const syncer::WeakHandle<syncer::UnrecoverableErrorHandler>&
96 unrecoverable_error_handler, 95 unrecoverable_error_handler,
97 const base::Closure& report_unrecoverable_error_function, 96 const base::Closure& report_unrecoverable_error_function,
98 syncer::NetworkResources* network_resources, 97 const HttpPostProviderFactoryGetter& get_http_post_provider_factory,
99 scoped_ptr<syncer::SyncEncryptionHandler::NigoriState> saved_nigori_state) 98 scoped_ptr<syncer::SyncEncryptionHandler::NigoriState> saved_nigori_state)
100 override; 99 override;
101 void TriggerRefresh(const syncer::ModelTypeSet& types) override; 100 void TriggerRefresh(const syncer::ModelTypeSet& types) override;
102 void UpdateCredentials(const syncer::SyncCredentials& credentials) override; 101 void UpdateCredentials(const syncer::SyncCredentials& credentials) override;
103 void StartSyncingWithServer() override; 102 void StartSyncingWithServer() override;
104 void SetEncryptionPassphrase(const std::string& passphrase, 103 void SetEncryptionPassphrase(const std::string& passphrase,
105 bool is_explicit) override; 104 bool is_explicit) override;
106 bool SetDecryptionPassphrase(const std::string& passphrase) override 105 bool SetDecryptionPassphrase(const std::string& passphrase) override
107 WARN_UNUSED_RESULT; 106 WARN_UNUSED_RESULT;
108 void StopSyncingForShutdown() override; 107 void StopSyncingForShutdown() override;
(...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after
384 bool invalidation_handler_registered_; 383 bool invalidation_handler_registered_;
385 384
386 base::WeakPtrFactory<SyncBackendHostImpl> weak_ptr_factory_; 385 base::WeakPtrFactory<SyncBackendHostImpl> weak_ptr_factory_;
387 386
388 DISALLOW_COPY_AND_ASSIGN(SyncBackendHostImpl); 387 DISALLOW_COPY_AND_ASSIGN(SyncBackendHostImpl);
389 }; 388 };
390 389
391 } // namespace browser_sync 390 } // namespace browser_sync
392 391
393 #endif // CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_IMPL_H_ 392 #endif // CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698