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

Unified Diff: chrome/browser/ui/views/ash/gesture_prefs_observer_factory_aura.h

Issue 10020048: Work on USE_ASH/USE_AURA split. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase to ToT Created 8 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/ash/gesture_prefs_observer_factory_aura.h
diff --git a/chrome/browser/ui/views/ash/gesture_prefs_observer_factory_aura.h b/chrome/browser/ui/views/ash/gesture_prefs_observer_factory_aura.h
deleted file mode 100644
index 1357d3a46ad9f96d4c8e0d2d784452a7751be605..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/views/ash/gesture_prefs_observer_factory_aura.h
+++ /dev/null
@@ -1,38 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_BROWSER_UI_VIEWS_ASH_GESTURE_PREFS_OBSERVER_FACTORY_AURA_H_
-#define CHROME_BROWSER_UI_VIEWS_ASH_GESTURE_PREFS_OBSERVER_FACTORY_AURA_H_
-#pragma once
-
-#include "base/basictypes.h"
-#include "base/memory/singleton.h"
-#include "chrome/browser/profiles/profile_keyed_service_factory.h"
-
-class PrefService;
-class Profile;
-
-// Create an observer per Profile that listens for gesture preferences updates.
-class GesturePrefsObserverFactoryAura : public ProfileKeyedServiceFactory {
- public:
- static GesturePrefsObserverFactoryAura* GetInstance();
-
- private:
- friend struct DefaultSingletonTraits<GesturePrefsObserverFactoryAura>;
-
- GesturePrefsObserverFactoryAura();
- virtual ~GesturePrefsObserverFactoryAura();
-
- // ProfileKeyedServiceFactory:
- virtual ProfileKeyedService* BuildServiceInstanceFor(
- Profile* profile) const OVERRIDE;
- virtual void RegisterUserPrefs(PrefService* prefs) OVERRIDE;
- virtual bool ServiceIsCreatedWithProfile() OVERRIDE;
- virtual bool ServiceRedirectedInIncognito() OVERRIDE;
- virtual bool ServiceIsNULLWhileTesting() OVERRIDE;
-
- DISALLOW_COPY_AND_ASSIGN(GesturePrefsObserverFactoryAura);
-};
-
-#endif // CHROME_BROWSER_UI_VIEWS_ASH_GESTURE_PREFS_OBSERVER_FACTORY_AURA_H_

Powered by Google App Engine
This is Rietveld 408576698