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

Side by Side Diff: test_utils.cc

Issue 3170010: [update_engine] Update to use not-hideously-old logging API from chrome (Closed) Base URL: http://src.chromium.org/git/update_engine.git
Patch Set: Created 10 years, 4 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
« no previous file with comments | « test_http_server.cc ('k') | utils.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium OS Authors. All rights reserved. 1 // Copyright (c) 2009 The Chromium OS 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 "update_engine/test_utils.h" 5 #include "update_engine/test_utils.h"
6 6
7 #include <sys/stat.h> 7 #include <sys/stat.h>
8 #include <sys/types.h> 8 #include <sys/types.h>
9 #include <errno.h> 9 #include <errno.h>
10 #include <stdio.h> 10 #include <stdio.h>
11 #include <stdlib.h> 11 #include <stdlib.h>
12 #include <unistd.h> 12 #include <unistd.h>
13 13
14 #include <set> 14 #include <set>
15 #include <string> 15 #include <string>
16 #include <vector> 16 #include <vector>
17 17
18 #include "base/string_util.h" 18 #include "base/string_util.h"
19 #include "chromeos/obsolete_logging.h" 19 #include "base/logging.h"
20 #include "update_engine/file_writer.h" 20 #include "update_engine/file_writer.h"
21 #include "update_engine/filesystem_iterator.h" 21 #include "update_engine/filesystem_iterator.h"
22 #include "update_engine/utils.h" 22 #include "update_engine/utils.h"
23 23
24 using std::set; 24 using std::set;
25 using std::string; 25 using std::string;
26 using std::vector; 26 using std::vector;
27 27
28 namespace chromeos_update_engine { 28 namespace chromeos_update_engine {
29 29
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
257 EXPECT_TRUE(expected_paths.empty()); 257 EXPECT_TRUE(expected_paths.empty());
258 if (!expected_paths.empty()) { 258 if (!expected_paths.empty()) {
259 for (set<string>::const_iterator it = expected_paths.begin(); 259 for (set<string>::const_iterator it = expected_paths.begin();
260 it != expected_paths.end(); ++it) { 260 it != expected_paths.end(); ++it) {
261 LOG(INFO) << "extra path: " << *it; 261 LOG(INFO) << "extra path: " << *it;
262 } 262 }
263 } 263 }
264 } 264 }
265 265
266 } // namespace chromeos_update_engine 266 } // namespace chromeos_update_engine
OLDNEW
« no previous file with comments | « test_http_server.cc ('k') | utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698