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 <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
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 "chrome/browser/profiles/profile_keyed_service.h" | 14 #include "chrome/browser/profiles/profile_keyed_service.h" |
15 #include "chrome/browser/tab_contents/background_contents.h" | 15 #include "chrome/browser/tab_contents/background_contents.h" |
16 #include "content/public/browser/notification_observer.h" | 16 #include "content/public/browser/notification_observer.h" |
17 #include "content/public/browser/notification_registrar.h" | 17 #include "content/public/browser/notification_registrar.h" |
18 #include "content/public/common/window_container_type.h" | 18 #include "content/public/common/window_container_type.h" |
19 #include "googleurl/src/gurl.h" | 19 #include "googleurl/src/gurl.h" |
20 #include "webkit/glue/window_open_disposition.h" | 20 #include "ui/base/window_open_disposition.h" |
21 | 21 |
22 class CommandLine; | 22 class CommandLine; |
23 class PrefService; | 23 class PrefService; |
24 class Profile; | 24 class Profile; |
25 | 25 |
26 namespace base { | 26 namespace base { |
27 class DictionaryValue; | 27 class DictionaryValue; |
28 } | 28 } |
29 | 29 |
30 namespace gfx { | 30 namespace gfx { |
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
180 // applications. | 180 // applications. |
181 // Key: application id | 181 // Key: application id |
182 // Value: BackgroundContentsInfo for the BC associated with that application | 182 // Value: BackgroundContentsInfo for the BC associated with that application |
183 typedef std::map<string16, BackgroundContentsInfo> BackgroundContentsMap; | 183 typedef std::map<string16, BackgroundContentsInfo> BackgroundContentsMap; |
184 BackgroundContentsMap contents_map_; | 184 BackgroundContentsMap contents_map_; |
185 | 185 |
186 DISALLOW_COPY_AND_ASSIGN(BackgroundContentsService); | 186 DISALLOW_COPY_AND_ASSIGN(BackgroundContentsService); |
187 }; | 187 }; |
188 | 188 |
189 #endif // CHROME_BROWSER_BACKGROUND_BACKGROUND_CONTENTS_SERVICE_H_ | 189 #endif // CHROME_BROWSER_BACKGROUND_BACKGROUND_CONTENTS_SERVICE_H_ |
OLD | NEW |