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

Side by Side Diff: tarjan.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 | « subprocess.cc ('k') | tarjan_unittest.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) 2010 The Chromium OS Authors. All rights reserved. 1 // Copyright (c) 2010 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 <algorithm> 5 #include <algorithm>
6 #include <vector> 6 #include <vector>
7 #include "chromeos/obsolete_logging.h" 7 #include "base/logging.h"
8 #include "update_engine/tarjan.h" 8 #include "update_engine/tarjan.h"
9 #include "update_engine/utils.h" 9 #include "update_engine/utils.h"
10 10
11 using std::min; 11 using std::min;
12 using std::vector; 12 using std::vector;
13 13
14 namespace chromeos_update_engine { 14 namespace chromeos_update_engine {
15 15
16 namespace { 16 namespace {
17 const vector<Vertex>::size_type kInvalidIndex = -1; 17 const vector<Vertex>::size_type kInvalidIndex = -1;
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 61
62 if (utils::VectorContainsValue(component, required_vertex_)) { 62 if (utils::VectorContainsValue(component, required_vertex_)) {
63 components_.resize(components_.size() + 1); 63 components_.resize(components_.size() + 1);
64 component.swap(components_.back()); 64 component.swap(components_.back());
65 } 65 }
66 } 66 }
67 } 67 }
68 68
69 } // namespace chromeos_update_engine 69 } // namespace chromeos_update_engine
70 70
OLDNEW
« no previous file with comments | « subprocess.cc ('k') | tarjan_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698