OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_management/providers/web_contents/renderer_task.h" | 5 #include "chrome/browser/task_management/providers/web_contents/renderer_task.h" |
6 | 6 |
7 #include "base/i18n/rtl.h" | 7 #include "base/i18n/rtl.h" |
8 #include "base/strings/utf_string_conversions.h" | 8 #include "base/strings/utf_string_conversions.h" |
9 #include "chrome/browser/browser_process.h" | 9 #include "chrome/browser/browser_process.h" |
10 #include "chrome/browser/favicon/favicon_helper.h" | 10 #include "chrome/browser/favicon/favicon_utils.h" |
11 #include "chrome/browser/profiles/profile.h" | 11 #include "chrome/browser/profiles/profile.h" |
12 #include "chrome/browser/profiles/profile_info_cache.h" | 12 #include "chrome/browser/profiles/profile_info_cache.h" |
13 #include "chrome/browser/profiles/profile_manager.h" | 13 #include "chrome/browser/profiles/profile_manager.h" |
14 #include "chrome/grit/generated_resources.h" | 14 #include "chrome/grit/generated_resources.h" |
15 #include "content/public/browser/render_process_host.h" | 15 #include "content/public/browser/render_process_host.h" |
16 #include "content/public/browser/web_contents.h" | 16 #include "content/public/browser/web_contents.h" |
17 #include "content/public/browser/web_contents_delegate.h" | 17 #include "content/public/browser/web_contents_delegate.h" |
18 #include "ui/base/l10n/l10n_util.h" | 18 #include "ui/base/l10n/l10n_util.h" |
19 | 19 |
20 namespace task_management { | 20 namespace task_management { |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 if (is_incognito) | 162 if (is_incognito) |
163 message_id = IDS_TASK_MANAGER_EXTENSION_INCOGNITO_PREFIX; | 163 message_id = IDS_TASK_MANAGER_EXTENSION_INCOGNITO_PREFIX; |
164 else | 164 else |
165 message_id = IDS_TASK_MANAGER_EXTENSION_PREFIX; | 165 message_id = IDS_TASK_MANAGER_EXTENSION_PREFIX; |
166 } | 166 } |
167 | 167 |
168 return l10n_util::GetStringFUTF16(message_id, title); | 168 return l10n_util::GetStringFUTF16(message_id, title); |
169 } | 169 } |
170 | 170 |
171 } // namespace task_management | 171 } // namespace task_management |
OLD | NEW |