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

Side by Side Diff: chrome/browser/webdata/web_data_service_factory.h

Issue 14141006: [components] Switch {RefCounted}ProfileKeyedService to use BrowserContext (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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_WEBDATA_WEB_DATA_SERVICE_FACTORY_H__ 5 #ifndef CHROME_BROWSER_WEBDATA_WEB_DATA_SERVICE_FACTORY_H__
6 #define CHROME_BROWSER_WEBDATA_WEB_DATA_SERVICE_FACTORY_H__ 6 #define CHROME_BROWSER_WEBDATA_WEB_DATA_SERVICE_FACTORY_H__
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/memory/singleton.h" 10 #include "base/memory/singleton.h"
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 62
63 private: 63 private:
64 friend struct DefaultSingletonTraits<WebDataServiceFactory>; 64 friend struct DefaultSingletonTraits<WebDataServiceFactory>;
65 65
66 WebDataServiceFactory(); 66 WebDataServiceFactory();
67 virtual ~WebDataServiceFactory(); 67 virtual ~WebDataServiceFactory();
68 68
69 // |ProfileKeyedBaseFactory| methods: 69 // |ProfileKeyedBaseFactory| methods:
70 virtual bool ServiceRedirectedInIncognito() const OVERRIDE; 70 virtual bool ServiceRedirectedInIncognito() const OVERRIDE;
71 virtual ProfileKeyedService* BuildServiceInstanceFor( 71 virtual ProfileKeyedService* BuildServiceInstanceFor(
72 Profile* profile) const OVERRIDE; 72 content::BrowserContext* profile) const OVERRIDE;
73 virtual bool ServiceIsNULLWhileTesting() const OVERRIDE; 73 virtual bool ServiceIsNULLWhileTesting() const OVERRIDE;
74 74
75 DISALLOW_COPY_AND_ASSIGN(WebDataServiceFactory); 75 DISALLOW_COPY_AND_ASSIGN(WebDataServiceFactory);
76 }; 76 };
77 77
78 #endif // CHROME_BROWSER_WEBDATA_WEB_DATA_SERVICE_FACTORY_H__ 78 #endif // CHROME_BROWSER_WEBDATA_WEB_DATA_SERVICE_FACTORY_H__
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698