| OLD | NEW |
| 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 Loading... |
| 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__ |
| OLD | NEW |