OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #include "chrome/browser/task_manager/background_information.h" | 5 #include "chrome/browser/task_manager/background_information.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include "base/i18n/rtl.h" | 9 #include "base/i18n/rtl.h" |
| 10 #include "base/macros.h" |
8 #include "base/strings/string16.h" | 11 #include "base/strings/string16.h" |
9 #include "base/strings/utf_string_conversions.h" | 12 #include "base/strings/utf_string_conversions.h" |
10 #include "chrome/browser/background/background_contents.h" | 13 #include "chrome/browser/background/background_contents.h" |
11 #include "chrome/browser/background/background_contents_service.h" | 14 #include "chrome/browser/background/background_contents_service.h" |
12 #include "chrome/browser/background/background_contents_service_factory.h" | 15 #include "chrome/browser/background/background_contents_service_factory.h" |
13 #include "chrome/browser/browser_process.h" | 16 #include "chrome/browser/browser_process.h" |
14 #include "chrome/browser/chrome_notification_types.h" | 17 #include "chrome/browser/chrome_notification_types.h" |
15 #include "chrome/browser/profiles/profile.h" | 18 #include "chrome/browser/profiles/profile.h" |
16 #include "chrome/browser/profiles/profile_manager.h" | 19 #include "chrome/browser/profiles/profile_manager.h" |
17 #include "chrome/browser/task_manager/renderer_resource.h" | 20 #include "chrome/browser/task_manager/renderer_resource.h" |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 application_name = base::UTF8ToUTF16(extension->name()); | 167 application_name = base::UTF8ToUTF16(extension->name()); |
165 return scoped_ptr<RendererResource>( | 168 return scoped_ptr<RendererResource>( |
166 new BackgroundContentsResource(*iterator, application_name)); | 169 new BackgroundContentsResource(*iterator, application_name)); |
167 } | 170 } |
168 } | 171 } |
169 NOTREACHED(); | 172 NOTREACHED(); |
170 return scoped_ptr<RendererResource>(); | 173 return scoped_ptr<RendererResource>(); |
171 } | 174 } |
172 | 175 |
173 } // namespace task_manager | 176 } // namespace task_manager |
OLD | NEW |