Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1664)

Side by Side Diff: chrome/test/mini_installer_test/installer_path_provider.cc

Issue 16753002: Use a direct include of strings headers in chrome/test/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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" 13 #include "base/process_util.h"
14 #include "base/string_util.h" 14 #include "base/strings/string_util.h"
15 #include "base/stringprintf.h" 15 #include "base/strings/stringprintf.h"
16 #include "chrome/test/mini_installer_test/installer_test_util.h"
16 #include "chrome/test/mini_installer_test/mini_installer_test_constants.h" 17 #include "chrome/test/mini_installer_test/mini_installer_test_constants.h"
17 #include "chrome/test/mini_installer_test/installer_test_util.h"
18 #include "testing/gtest/include/gtest/gtest.h" 18 #include "testing/gtest/include/gtest/gtest.h"
19 19
20 namespace { 20 namespace {
21 21
22 struct FilePathInfo { 22 struct FilePathInfo {
23 base::FileEnumerator::FileInfo info; 23 base::FileEnumerator::FileInfo info;
24 base::FilePath path; 24 base::FilePath path;
25 }; 25 };
26 26
27 bool CompareDate(const FilePathInfo& a, const FilePathInfo& b) { 27 bool CompareDate(const FilePathInfo& a, const FilePathInfo& b) {
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 229
230 std::string InstallerPathProvider::GetCurrentBuild() { 230 std::string InstallerPathProvider::GetCurrentBuild() {
231 return current_build_; 231 return current_build_;
232 } 232 }
233 233
234 std::string InstallerPathProvider::GetPreviousBuild() { 234 std::string InstallerPathProvider::GetPreviousBuild() {
235 return previous_build_; 235 return previous_build_;
236 } 236 }
237 237
238 } // namespace 238 } // namespace
OLDNEW
« no previous file with comments | « chrome/test/logging/win/test_log_collector.cc ('k') | chrome/test/mini_installer_test/installer_test_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698