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 // This has to be included first. | 5 // This has to be included first. |
6 // See http://code.google.com/p/googletest/issues/detail?id=371 | 6 // See http://code.google.com/p/googletest/issues/detail?id=371 |
7 #include "testing/gtest/include/gtest/gtest.h" | 7 #include "testing/gtest/include/gtest/gtest.h" |
8 | 8 |
9 #include <stddef.h> | 9 #include <stddef.h> |
10 #include <stdint.h> | 10 #include <stdint.h> |
11 #include <string.h> | 11 #include <string.h> |
12 | 12 |
| 13 #include <memory> |
| 14 |
13 #include "base/at_exit.h" | 15 #include "base/at_exit.h" |
14 #include "base/bind.h" | 16 #include "base/bind.h" |
15 #include "base/command_line.h" | 17 #include "base/command_line.h" |
16 #include "base/files/file_util.h" | 18 #include "base/files/file_util.h" |
17 #include "base/logging.h" | 19 #include "base/logging.h" |
18 #include "base/macros.h" | 20 #include "base/macros.h" |
19 #include "base/memory/scoped_vector.h" | 21 #include "base/memory/scoped_vector.h" |
20 #include "base/path_service.h" | 22 #include "base/path_service.h" |
21 #include "base/strings/string_piece.h" | 23 #include "base/strings/string_piece.h" |
22 #include "base/strings/string_split.h" | 24 #include "base/strings/string_split.h" |
(...skipping 556 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
579 #endif | 581 #endif |
580 | 582 |
581 content::g_env = | 583 content::g_env = |
582 reinterpret_cast<content::JpegDecodeAcceleratorTestEnvironment*>( | 584 reinterpret_cast<content::JpegDecodeAcceleratorTestEnvironment*>( |
583 testing::AddGlobalTestEnvironment( | 585 testing::AddGlobalTestEnvironment( |
584 new content::JpegDecodeAcceleratorTestEnvironment( | 586 new content::JpegDecodeAcceleratorTestEnvironment( |
585 jpeg_filenames))); | 587 jpeg_filenames))); |
586 | 588 |
587 return RUN_ALL_TESTS(); | 589 return RUN_ALL_TESTS(); |
588 } | 590 } |
OLD | NEW |