| 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_UI_VIEWS_ASH_GESTURE_PREFS_OBSERVER_FACTORY_AURA_H_ | 5 #ifndef CHROME_BROWSER_UI_GESTURE_PREFS_OBSERVER_FACTORY_AURA_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_ASH_GESTURE_PREFS_OBSERVER_FACTORY_AURA_H_ | 6 #define CHROME_BROWSER_UI_GESTURE_PREFS_OBSERVER_FACTORY_AURA_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 #include "base/memory/singleton.h" | 10 #include "base/memory/singleton.h" |
| 11 #include "chrome/browser/profiles/profile_keyed_service_factory.h" | 11 #include "chrome/browser/profiles/profile_keyed_service_factory.h" |
| 12 | 12 |
| 13 class PrefService; | 13 class PrefService; |
| 14 class Profile; | 14 class Profile; |
| 15 | 15 |
| 16 // Create an observer per Profile that listens for gesture preferences updates. | 16 // Create an observer per Profile that listens for gesture preferences updates. |
| (...skipping 11 matching lines...) Expand all Loading... |
| 28 virtual ProfileKeyedService* BuildServiceInstanceFor( | 28 virtual ProfileKeyedService* BuildServiceInstanceFor( |
| 29 Profile* profile) const OVERRIDE; | 29 Profile* profile) const OVERRIDE; |
| 30 virtual void RegisterUserPrefs(PrefService* prefs) OVERRIDE; | 30 virtual void RegisterUserPrefs(PrefService* prefs) OVERRIDE; |
| 31 virtual bool ServiceIsCreatedWithProfile() OVERRIDE; | 31 virtual bool ServiceIsCreatedWithProfile() OVERRIDE; |
| 32 virtual bool ServiceRedirectedInIncognito() OVERRIDE; | 32 virtual bool ServiceRedirectedInIncognito() OVERRIDE; |
| 33 virtual bool ServiceIsNULLWhileTesting() OVERRIDE; | 33 virtual bool ServiceIsNULLWhileTesting() OVERRIDE; |
| 34 | 34 |
| 35 DISALLOW_COPY_AND_ASSIGN(GesturePrefsObserverFactoryAura); | 35 DISALLOW_COPY_AND_ASSIGN(GesturePrefsObserverFactoryAura); |
| 36 }; | 36 }; |
| 37 | 37 |
| 38 #endif // CHROME_BROWSER_UI_VIEWS_ASH_GESTURE_PREFS_OBSERVER_FACTORY_AURA_H_ | 38 #endif // CHROME_BROWSER_UI_GESTURE_PREFS_OBSERVER_FACTORY_AURA_H_ |
| OLD | NEW |