| 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_EXTENSIONS_EXTENSION_PREFERENCE_API_H__ |    5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_PREFERENCE_API_H__ | 
|    6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_PREFERENCE_API_H__ |    6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_PREFERENCE_API_H__ | 
|    7  |    7  | 
|    8 #include <string> |    8 #include <string> | 
|    9  |    9  | 
 |   10 #include "chrome/browser/api/prefs/pref_change_registrar.h" | 
|   10 #include "chrome/browser/extensions/extension_function.h" |   11 #include "chrome/browser/extensions/extension_function.h" | 
|   11 #include "chrome/browser/prefs/pref_change_registrar.h" |  | 
|   12 #include "content/public/browser/notification_observer.h" |   12 #include "content/public/browser/notification_observer.h" | 
|   13  |   13  | 
|   14 class PrefService; |   14 class PrefService; | 
|   15  |   15  | 
|   16 namespace base { |   16 namespace base { | 
|   17 class Value; |   17 class Value; | 
|   18 } |   18 } | 
|   19  |   19  | 
|   20 class ExtensionPreferenceEventRouter : public content::NotificationObserver { |   20 class ExtensionPreferenceEventRouter : public content::NotificationObserver { | 
|   21  public: |   21  public: | 
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  109   DECLARE_EXTENSION_FUNCTION_NAME("types.ChromeSetting.clear") |  109   DECLARE_EXTENSION_FUNCTION_NAME("types.ChromeSetting.clear") | 
|  110  |  110  | 
|  111  protected: |  111  protected: | 
|  112   virtual ~ClearPreferenceFunction(); |  112   virtual ~ClearPreferenceFunction(); | 
|  113  |  113  | 
|  114   // ExtensionFunction: |  114   // ExtensionFunction: | 
|  115   virtual bool RunImpl() OVERRIDE; |  115   virtual bool RunImpl() OVERRIDE; | 
|  116 }; |  116 }; | 
|  117  |  117  | 
|  118 #endif  // CHROME_BROWSER_EXTENSIONS_EXTENSION_PREFERENCE_API_H__ |  118 #endif  // CHROME_BROWSER_EXTENSIONS_EXTENSION_PREFERENCE_API_H__ | 
| OLD | NEW |