OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_resource_provider.h" | 5 #include "chrome/browser/task_manager/background_resource_provider.h" |
6 | 6 |
7 #include "base/i18n/rtl.h" | 7 #include "base/i18n/rtl.h" |
8 #include "base/string16.h" | 8 #include "base/string16.h" |
9 #include "base/utf_string_conversions.h" | 9 #include "base/strings/utf_string_conversions.h" |
10 #include "chrome/browser/background/background_contents_service.h" | 10 #include "chrome/browser/background/background_contents_service.h" |
11 #include "chrome/browser/background/background_contents_service_factory.h" | 11 #include "chrome/browser/background/background_contents_service_factory.h" |
12 #include "chrome/browser/browser_process.h" | 12 #include "chrome/browser/browser_process.h" |
13 #include "chrome/browser/extensions/extension_service.h" | 13 #include "chrome/browser/extensions/extension_service.h" |
14 #include "chrome/browser/profiles/profile.h" | 14 #include "chrome/browser/profiles/profile.h" |
15 #include "chrome/browser/profiles/profile_manager.h" | 15 #include "chrome/browser/profiles/profile_manager.h" |
16 #include "chrome/browser/tab_contents/background_contents.h" | 16 #include "chrome/browser/tab_contents/background_contents.h" |
17 #include "chrome/browser/task_manager/renderer_resource.h" | 17 #include "chrome/browser/task_manager/renderer_resource.h" |
18 #include "chrome/browser/task_manager/resource_provider.h" | 18 #include "chrome/browser/task_manager/resource_provider.h" |
19 #include "chrome/browser/task_manager/task_manager.h" | 19 #include "chrome/browser/task_manager/task_manager.h" |
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
307 // (applications may now be considered "foreground" that weren't before). | 307 // (applications may now be considered "foreground" that weren't before). |
308 task_manager_->ModelChanged(); | 308 task_manager_->ModelChanged(); |
309 break; | 309 break; |
310 default: | 310 default: |
311 NOTREACHED() << "Unexpected notification."; | 311 NOTREACHED() << "Unexpected notification."; |
312 return; | 312 return; |
313 } | 313 } |
314 } | 314 } |
315 | 315 |
316 } // namespace task_manager | 316 } // namespace task_manager |
OLD | NEW |