| 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 <stddef.h> |
| 8 |
| 9 #include "base/macros.h" |
| 8 #include "chrome/grit/generated_resources.h" | 10 #include "chrome/grit/generated_resources.h" |
| 9 #include "testing/gtest/include/gtest/gtest.h" | 11 #include "testing/gtest/include/gtest/gtest.h" |
| 10 | 12 |
| 11 namespace task_manager { | 13 namespace task_manager { |
| 12 | 14 |
| 13 namespace util { | 15 namespace util { |
| 14 | 16 |
| 15 TEST(TaskManagerUtilTest, GetMessagePrefixID) { | 17 TEST(TaskManagerUtilTest, GetMessagePrefixID) { |
| 16 struct Configuration { | 18 struct Configuration { |
| 17 bool is_app; | 19 bool is_app; |
| (...skipping 19 matching lines...) Expand all Loading... |
| 37 configs[i].is_extension, | 39 configs[i].is_extension, |
| 38 configs[i].is_incognito, | 40 configs[i].is_incognito, |
| 39 configs[i].is_prerender, | 41 configs[i].is_prerender, |
| 40 configs[i].is_background)); | 42 configs[i].is_background)); |
| 41 } | 43 } |
| 42 } | 44 } |
| 43 | 45 |
| 44 } // namespace util | 46 } // namespace util |
| 45 | 47 |
| 46 } // namespace task_manager | 48 } // namespace task_manager |
| OLD | NEW |