OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/test/mini_installer_test/installer_path_provider.h" | 5 #include "chrome/test/mini_installer_test/installer_path_provider.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 | 8 |
9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
10 #include "base/file_util.h" | 10 #include "base/file_util.h" |
11 #include "base/files/file_enumerator.h" | 11 #include "base/files/file_enumerator.h" |
12 #include "base/path_service.h" | 12 #include "base/path_service.h" |
13 #include "base/process_util.h" | |
14 #include "base/strings/string_util.h" | 13 #include "base/strings/string_util.h" |
15 #include "base/strings/stringprintf.h" | 14 #include "base/strings/stringprintf.h" |
16 #include "chrome/test/mini_installer_test/installer_test_util.h" | 15 #include "chrome/test/mini_installer_test/installer_test_util.h" |
17 #include "chrome/test/mini_installer_test/mini_installer_test_constants.h" | 16 #include "chrome/test/mini_installer_test/mini_installer_test_constants.h" |
18 #include "testing/gtest/include/gtest/gtest.h" | 17 #include "testing/gtest/include/gtest/gtest.h" |
19 | 18 |
20 namespace { | 19 namespace { |
21 | 20 |
22 struct FilePathInfo { | 21 struct FilePathInfo { |
23 base::FileEnumerator::FileInfo info; | 22 base::FileEnumerator::FileInfo info; |
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
229 | 228 |
230 std::string InstallerPathProvider::GetCurrentBuild() { | 229 std::string InstallerPathProvider::GetCurrentBuild() { |
231 return current_build_; | 230 return current_build_; |
232 } | 231 } |
233 | 232 |
234 std::string InstallerPathProvider::GetPreviousBuild() { | 233 std::string InstallerPathProvider::GetPreviousBuild() { |
235 return previous_build_; | 234 return previous_build_; |
236 } | 235 } |
237 | 236 |
238 } // namespace | 237 } // namespace |
OLD | NEW |