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

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

Issue 16154031: Un-refcount AutofillWebData and TokenWebData (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase on ToT Created 7 years, 6 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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 void RegisterDesktopDataTypes(ProfileSyncService* pss); 71 void RegisterDesktopDataTypes(ProfileSyncService* pss);
72 // Register data types which are enabled on both desktop and mobile. 72 // Register data types which are enabled on both desktop and mobile.
73 void RegisterCommonDataTypes(ProfileSyncService* pss); 73 void RegisterCommonDataTypes(ProfileSyncService* pss);
74 74
75 Profile* profile_; 75 Profile* profile_;
76 CommandLine* command_line_; 76 CommandLine* command_line_;
77 // Set on the UI thread (since extensions::ExtensionSystemFactory is 77 // Set on the UI thread (since extensions::ExtensionSystemFactory is
78 // non-threadsafe); accessed on both the UI and FILE threads in 78 // non-threadsafe); accessed on both the UI and FILE threads in
79 // GetSyncableServiceForType. 79 // GetSyncableServiceForType.
80 extensions::ExtensionSystem* extension_system_; 80 extensions::ExtensionSystem* extension_system_;
81 scoped_refptr<autofill::AutofillWebDataService> web_data_service_; 81 autofill::AutofillWebDataService* web_data_service_;
82 82
83 DISALLOW_COPY_AND_ASSIGN(ProfileSyncComponentsFactoryImpl); 83 DISALLOW_COPY_AND_ASSIGN(ProfileSyncComponentsFactoryImpl);
84 }; 84 };
85 85
86 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_COMPONENTS_FACTORY_IMPL_H__ 86 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_COMPONENTS_FACTORY_IMPL_H__
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698