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

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

Issue 1718001: AU: Class to perform delta updates. (Closed)
Patch Set: fixes for review Created 10 years, 8 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
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_GRAPH_TYPES_H__ 5 #ifndef CHROMEOS_PLATFORM_UPDATE_ENGINE_GRAPH_TYPES_H__
6 #define CHROMEOS_PLATFORM_UPDATE_ENGINE_GRAPH_TYPES_H__ 6 #define CHROMEOS_PLATFORM_UPDATE_ENGINE_GRAPH_TYPES_H__
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 std::string file_name; 43 std::string file_name;
44 44
45 typedef std::vector<Vertex>::size_type Index; 45 typedef std::vector<Vertex>::size_type Index;
46 static const Vertex::Index kInvalidIndex = -1; 46 static const Vertex::Index kInvalidIndex = -1;
47 }; 47 };
48 48
49 typedef std::vector<Vertex> Graph; 49 typedef std::vector<Vertex> Graph;
50 50
51 typedef std::pair<Vertex::Index, Vertex::Index> Edge; 51 typedef std::pair<Vertex::Index, Vertex::Index> Edge;
52 52
53 const uint64 kSparseHole = kuint64max; 53 const uint64_t kSparseHole = kuint64max;
54 54
55 } // namespace chromeos_update_engine 55 } // namespace chromeos_update_engine
56 56
57 #endif // CHROMEOS_PLATFORM_UPDATE_ENGINE_GRAPH_TYPES_H__ 57 #endif // CHROMEOS_PLATFORM_UPDATE_ENGINE_GRAPH_TYPES_H__
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698