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_BACKGROUND_BACKGROUND_CONTENTS_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_BACKGROUND_BACKGROUND_CONTENTS_SERVICE_H_ |
6 #define CHROME_BROWSER_BACKGROUND_BACKGROUND_CONTENTS_SERVICE_H_ | 6 #define CHROME_BROWSER_BACKGROUND_BACKGROUND_CONTENTS_SERVICE_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include <map> | 10 #include <map> |
9 #include <string> | 11 #include <string> |
10 #include <vector> | 12 #include <vector> |
11 | 13 |
12 #include "base/gtest_prod_util.h" | 14 #include "base/gtest_prod_util.h" |
| 15 #include "base/macros.h" |
13 #include "base/memory/ref_counted.h" | 16 #include "base/memory/ref_counted.h" |
14 #include "base/scoped_observer.h" | 17 #include "base/scoped_observer.h" |
15 #include "chrome/browser/background/background_contents.h" | 18 #include "chrome/browser/background/background_contents.h" |
16 #include "components/keyed_service/core/keyed_service.h" | 19 #include "components/keyed_service/core/keyed_service.h" |
17 #include "content/public/browser/notification_observer.h" | 20 #include "content/public/browser/notification_observer.h" |
18 #include "content/public/browser/notification_registrar.h" | 21 #include "content/public/browser/notification_registrar.h" |
19 #include "content/public/common/window_container_type.h" | 22 #include "content/public/common/window_container_type.h" |
20 #include "extensions/browser/extension_registry_observer.h" | 23 #include "extensions/browser/extension_registry_observer.h" |
21 #include "ui/base/window_open_disposition.h" | 24 #include "ui/base/window_open_disposition.h" |
22 #include "url/gurl.h" | 25 #include "url/gurl.h" |
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
237 BackgroundContentsMap contents_map_; | 240 BackgroundContentsMap contents_map_; |
238 | 241 |
239 ScopedObserver<extensions::ExtensionRegistry, | 242 ScopedObserver<extensions::ExtensionRegistry, |
240 extensions::ExtensionRegistryObserver> | 243 extensions::ExtensionRegistryObserver> |
241 extension_registry_observer_; | 244 extension_registry_observer_; |
242 | 245 |
243 DISALLOW_COPY_AND_ASSIGN(BackgroundContentsService); | 246 DISALLOW_COPY_AND_ASSIGN(BackgroundContentsService); |
244 }; | 247 }; |
245 | 248 |
246 #endif // CHROME_BROWSER_BACKGROUND_BACKGROUND_CONTENTS_SERVICE_H_ | 249 #endif // CHROME_BROWSER_BACKGROUND_BACKGROUND_CONTENTS_SERVICE_H_ |
OLD | NEW |