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_STATE_STORE_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_STATE_STORE_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_STATE_STORE_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_STATE_STORE_H_ |
7 #pragma once | |
8 | 7 |
9 #include <set> | 8 #include <set> |
10 #include <string> | 9 #include <string> |
11 | 10 |
12 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
13 #include "chrome/browser/value_store/value_store_frontend.h" | 12 #include "chrome/browser/value_store/value_store_frontend.h" |
14 #include "content/public/browser/notification_observer.h" | 13 #include "content/public/browser/notification_observer.h" |
15 #include "content/public/browser/notification_registrar.h" | 14 #include "content/public/browser/notification_registrar.h" |
16 | 15 |
17 class Profile; | 16 class Profile; |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 // List of all known keys. They will be cleared for each extension when it is | 56 // List of all known keys. They will be cleared for each extension when it is |
58 // (un)installed. | 57 // (un)installed. |
59 std::set<std::string> registered_keys_; | 58 std::set<std::string> registered_keys_; |
60 | 59 |
61 content::NotificationRegistrar registrar_; | 60 content::NotificationRegistrar registrar_; |
62 }; | 61 }; |
63 | 62 |
64 } // namespace extensions | 63 } // namespace extensions |
65 | 64 |
66 #endif // CHROME_BROWSER_EXTENSIONS_STATE_STORE_H_ | 65 #endif // CHROME_BROWSER_EXTENSIONS_STATE_STORE_H_ |
OLD | NEW |