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_SETTINGS_SETTINGS_FRONTEND_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_SETTINGS_SETTINGS_FRONTEND_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_SETTINGS_SETTINGS_FRONTEND_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_SETTINGS_SETTINGS_FRONTEND_H_ |
7 #pragma once | |
8 | 7 |
9 #include <string> | 8 #include <string> |
10 | 9 |
11 #include "base/callback.h" | 10 #include "base/callback.h" |
12 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
13 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
14 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
15 #include "base/observer_list_threadsafe.h" | 14 #include "base/observer_list_threadsafe.h" |
16 #include "chrome/browser/extensions/settings/settings_namespace.h" | 15 #include "chrome/browser/extensions/settings/settings_namespace.h" |
17 #include "chrome/browser/extensions/settings/settings_observer.h" | 16 #include "chrome/browser/extensions/settings/settings_observer.h" |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 scoped_refptr<BackendWrapper> extension; | 96 scoped_refptr<BackendWrapper> extension; |
98 }; | 97 }; |
99 std::map<settings_namespace::Namespace, BackendWrappers> backends_; | 98 std::map<settings_namespace::Namespace, BackendWrappers> backends_; |
100 | 99 |
101 DISALLOW_COPY_AND_ASSIGN(SettingsFrontend); | 100 DISALLOW_COPY_AND_ASSIGN(SettingsFrontend); |
102 }; | 101 }; |
103 | 102 |
104 } // namespace extensions | 103 } // namespace extensions |
105 | 104 |
106 #endif // CHROME_BROWSER_EXTENSIONS_SETTINGS_SETTINGS_FRONTEND_H_ | 105 #endif // CHROME_BROWSER_EXTENSIONS_SETTINGS_SETTINGS_FRONTEND_H_ |
OLD | NEW |