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

Side by Side Diff: src/platform/update_engine/utils.h

Issue 657055: AU: Tarjan's algorithm. (Closed)
Patch Set: fixes for review Created 10 years, 9 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 | « src/platform/update_engine/tarjan_unittest.cc ('k') | no next file » | 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 Authors. All rights reserved. 1 // Copyright (c) 2009 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 #ifndef CHROMEOS_PLATFORM_UPDATE_ENGINE_UTILS_H__ 5 #ifndef CHROMEOS_PLATFORM_UPDATE_ENGINE_UTILS_H__
6 #define CHROMEOS_PLATFORM_UPDATE_ENGINE_UTILS_H__ 6 #define CHROMEOS_PLATFORM_UPDATE_ENGINE_UTILS_H__
7 7
8 #include <algorithm>
8 #include <set> 9 #include <set>
9 #include <string> 10 #include <string>
10 #include <vector> 11 #include <vector>
11 #include "update_engine/action.h" 12 #include "update_engine/action.h"
12 #include "update_engine/action_processor.h" 13 #include "update_engine/action_processor.h"
13 14
14 namespace chromeos_update_engine { 15 namespace chromeos_update_engine {
15 16
16 namespace utils { 17 namespace utils {
17 18
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 bool _success = (_x); \ 189 bool _success = (_x); \
189 if (!_success) { \ 190 if (!_success) { \
190 LOG(ERROR) << #_x " failed."; \ 191 LOG(ERROR) << #_x " failed."; \
191 return; \ 192 return; \
192 } \ 193 } \
193 } while (0) 194 } while (0)
194 195
195 196
196 197
197 #endif // CHROMEOS_PLATFORM_UPDATE_ENGINE_UTILS_H__ 198 #endif // CHROMEOS_PLATFORM_UPDATE_ENGINE_UTILS_H__
OLDNEW
« no previous file with comments | « src/platform/update_engine/tarjan_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698