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

Side by Side Diff: chrome/browser/sync/profile_sync_components_factory_impl.h

Issue 399593003: One more round of extensions code ifdefing in profiles code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 4 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_PROFILE_SYNC_COMPONENTS_FACTORY_IMPL_H__ 5 #ifndef CHROME_BROWSER_SYNC_PROFILE_SYNC_COMPONENTS_FACTORY_IMPL_H__
6 #define CHROME_BROWSER_SYNC_PROFILE_SYNC_COMPONENTS_FACTORY_IMPL_H__ 6 #define CHROME_BROWSER_SYNC_PROFILE_SYNC_COMPONENTS_FACTORY_IMPL_H__
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 // Used to bind a callback to give to DataTypeControllers to disable 95 // Used to bind a callback to give to DataTypeControllers to disable
96 // data types. 96 // data types.
97 sync_driver::DataTypeController::DisableTypeCallback 97 sync_driver::DataTypeController::DisableTypeCallback
98 MakeDisableCallbackFor(syncer::ModelType type); 98 MakeDisableCallbackFor(syncer::ModelType type);
99 void DisableBrokenType(syncer::ModelType type, 99 void DisableBrokenType(syncer::ModelType type,
100 const tracked_objects::Location& from_here, 100 const tracked_objects::Location& from_here,
101 const std::string& message); 101 const std::string& message);
102 102
103 Profile* profile_; 103 Profile* profile_;
104 base::CommandLine* command_line_; 104 base::CommandLine* command_line_;
105 // Set on the UI thread (since extensions::ExtensionSystemFactory is
106 // non-threadsafe); accessed on both the UI and FILE threads in
107 // GetSyncableServiceForType.
108 extensions::ExtensionSystem* extension_system_;
109 scoped_refptr<autofill::AutofillWebDataService> web_data_service_; 105 scoped_refptr<autofill::AutofillWebDataService> web_data_service_;
110 106
111 const GURL sync_service_url_; 107 const GURL sync_service_url_;
112 OAuth2TokenService* const token_service_; 108 OAuth2TokenService* const token_service_;
113 net::URLRequestContextGetter* const url_request_context_getter_; 109 net::URLRequestContextGetter* const url_request_context_getter_;
114 110
115 base::WeakPtrFactory<ProfileSyncComponentsFactoryImpl> weak_factory_; 111 base::WeakPtrFactory<ProfileSyncComponentsFactoryImpl> weak_factory_;
116 112
117 DISALLOW_COPY_AND_ASSIGN(ProfileSyncComponentsFactoryImpl); 113 DISALLOW_COPY_AND_ASSIGN(ProfileSyncComponentsFactoryImpl);
118 }; 114 };
119 115
120 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_COMPONENTS_FACTORY_IMPL_H__ 116 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_COMPONENTS_FACTORY_IMPL_H__
OLDNEW
« no previous file with comments | « chrome/browser/profiles/profile_io_data.cc ('k') | chrome/browser/sync/profile_sync_components_factory_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698