OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <map> | 9 #include <map> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/gtest_prod_util.h" | 12 #include "base/gtest_prod_util.h" |
13 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
14 #include "base/task.h" | 14 #include "base/task.h" |
15 #include "chrome/browser/profiles/profile_keyed_service.h" | 15 #include "chrome/browser/profiles/profile_keyed_service.h" |
16 #include "chrome/browser/tab_contents/background_contents.h" | 16 #include "chrome/browser/tab_contents/background_contents.h" |
17 #include "content/common/notification_observer.h" | 17 #include "content/common/notification_observer.h" |
18 #include "content/common/notification_registrar.h" | 18 #include "content/common/notification_registrar.h" |
19 #include "content/common/window_container_type.h" | 19 #include "content/public/common/window_container_type.h" |
20 #include "googleurl/src/gurl.h" | 20 #include "googleurl/src/gurl.h" |
21 #include "webkit/glue/window_open_disposition.h" | 21 #include "webkit/glue/window_open_disposition.h" |
22 | 22 |
23 class CommandLine; | 23 class CommandLine; |
24 class NotificationDelegate; | 24 class NotificationDelegate; |
25 class PrefService; | 25 class PrefService; |
26 class Profile; | 26 class Profile; |
27 class TabContents; | 27 class TabContents; |
28 | 28 |
29 namespace base { | 29 namespace base { |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
171 // applications. | 171 // applications. |
172 // Key: application id | 172 // Key: application id |
173 // Value: BackgroundContentsInfo for the BC associated with that application | 173 // Value: BackgroundContentsInfo for the BC associated with that application |
174 typedef std::map<string16, BackgroundContentsInfo> BackgroundContentsMap; | 174 typedef std::map<string16, BackgroundContentsInfo> BackgroundContentsMap; |
175 BackgroundContentsMap contents_map_; | 175 BackgroundContentsMap contents_map_; |
176 | 176 |
177 DISALLOW_COPY_AND_ASSIGN(BackgroundContentsService); | 177 DISALLOW_COPY_AND_ASSIGN(BackgroundContentsService); |
178 }; | 178 }; |
179 | 179 |
180 #endif // CHROME_BROWSER_BACKGROUND_BACKGROUND_CONTENTS_SERVICE_H_ | 180 #endif // CHROME_BROWSER_BACKGROUND_BACKGROUND_CONTENTS_SERVICE_H_ |
OLD | NEW |