OLD | NEW |
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 Loading... |
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__ |
OLD | NEW |