| 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/task_manager_util.h" | 5 #include "chrome/browser/task_manager/task_manager_util.h" |
| 6 | 6 |
| 7 #include "base/basictypes.h" | 7 #include "base/basictypes.h" |
| 8 #include "base/i18n/rtl.h" | 8 #include "base/i18n/rtl.h" |
| 9 #include "base/strings/string16.h" | 9 #include "base/strings/string16.h" |
| 10 #include "base/strings/utf_string_conversions.h" | 10 #include "base/strings/utf_string_conversions.h" |
| 11 #include "chrome/browser/browser_process.h" | 11 #include "chrome/browser/browser_process.h" |
| 12 #include "chrome/browser/profiles/profile.h" | 12 #include "chrome/browser/profiles/profile.h" |
| 13 #include "chrome/browser/profiles/profile_info_cache.h" | 13 #include "chrome/browser/profiles/profile_info_cache.h" |
| 14 #include "chrome/browser/profiles/profile_manager.h" | 14 #include "chrome/browser/profiles/profile_manager.h" |
| 15 #include "chrome/grit/generated_resources.h" |
| 15 #include "content/public/browser/web_contents.h" | 16 #include "content/public/browser/web_contents.h" |
| 16 #include "grit/generated_resources.h" | |
| 17 | 17 |
| 18 namespace task_manager { | 18 namespace task_manager { |
| 19 | 19 |
| 20 namespace util { | 20 namespace util { |
| 21 | 21 |
| 22 int GetMessagePrefixID(bool is_app, | 22 int GetMessagePrefixID(bool is_app, |
| 23 bool is_extension, | 23 bool is_extension, |
| 24 bool is_incognito, | 24 bool is_incognito, |
| 25 bool is_prerender, | 25 bool is_prerender, |
| 26 bool is_background) { | 26 bool is_background) { |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 // web-based Email :BAT", in which the capital letters "BAT" stands for | 77 // web-based Email :BAT", in which the capital letters "BAT" stands for |
| 78 // the Hebrew word for "tab". | 78 // the Hebrew word for "tab". |
| 79 base::i18n::AdjustStringForLocaleDirection(&title); | 79 base::i18n::AdjustStringForLocaleDirection(&title); |
| 80 } | 80 } |
| 81 return title; | 81 return title; |
| 82 } | 82 } |
| 83 | 83 |
| 84 } // namespace util | 84 } // namespace util |
| 85 | 85 |
| 86 } // namespace task_manager | 86 } // namespace task_manager |
| OLD | NEW |