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

Side by Side Diff: chrome/browser/translate/standalone_cld_data_harness.cc

Issue 486843004: Change base/file_utils.h includes to base/files/file_utils.h in chrome/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix bad merge Created 6 years, 3 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "standalone_cld_data_harness.h" 5 #include "standalone_cld_data_harness.h"
6 6
7 #include "base/base_paths.h" 7 #include "base/base_paths.h"
8 #include "base/file_util.h" 8 #include "base/files/file_util.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/path_service.h" 10 #include "base/path_service.h"
11 #include "chrome/common/chrome_paths.h" 11 #include "chrome/common/chrome_paths.h"
12 #include "testing/gtest/include/gtest/gtest.h" 12 #include "testing/gtest/include/gtest/gtest.h"
13 13
14 namespace { 14 namespace {
15 15
16 // This has to match what's in chrome_translate_client.cc 16 // This has to match what's in chrome_translate_client.cc
17 const base::FilePath::CharType kStandaloneDataFileName[] = 17 const base::FilePath::CharType kStandaloneDataFileName[] =
18 FILE_PATH_LITERAL("cld2_data.bin"); 18 FILE_PATH_LITERAL("cld2_data.bin");
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 ASSERT_TRUE(base::CopyFile(source_file, target_file)); 73 ASSERT_TRUE(base::CopyFile(source_file, target_file));
74 ASSERT_TRUE(base::PathExists(target_file)); 74 ASSERT_TRUE(base::PathExists(target_file));
75 } 75 }
76 76
77 scoped_ptr<CldDataHarness> CreateCldDataHarness() { 77 scoped_ptr<CldDataHarness> CreateCldDataHarness() {
78 scoped_ptr<CldDataHarness> result(new StandaloneCldDataHarness()); 78 scoped_ptr<CldDataHarness> result(new StandaloneCldDataHarness());
79 return result.Pass(); 79 return result.Pass();
80 } 80 }
81 81
82 } // namespace test 82 } // namespace test
OLDNEW
« no previous file with comments | « chrome/browser/translate/component_cld_data_harness.cc ('k') | chrome/browser/ui/app_list/app_list_service_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698