| Index: src/platform/update_engine/graph_types.h
|
| diff --git a/src/platform/update_engine/graph_types.h b/src/platform/update_engine/graph_types.h
|
| index afb7f6434e0f9e0062b77d8a03332cc280ca2a86..109616abc6f747119434bad80e19a926e9009bed 100644
|
| --- a/src/platform/update_engine/graph_types.h
|
| +++ b/src/platform/update_engine/graph_types.h
|
| @@ -7,6 +7,7 @@
|
|
|
| #include <map>
|
| #include <set>
|
| +#include <string>
|
| #include <utility>
|
| #include <vector>
|
| #include "base/basictypes.h"
|
| @@ -22,7 +23,7 @@ struct EdgeProperties {
|
| };
|
|
|
| struct Vertex {
|
| - Vertex() : index(-1), lowlink(-1), op(NULL) {}
|
| + Vertex() : index(-1), lowlink(-1) {}
|
| typedef std::map<std::vector<Vertex>::size_type, EdgeProperties> EdgeMap;
|
| EdgeMap out_edges;
|
|
|
| @@ -38,7 +39,8 @@ struct Vertex {
|
| std::vector<Vertex>::size_type lowlink;
|
|
|
| // Other Vertex properties:
|
| - DeltaArchiveManifest_InstallOperation* op;
|
| + DeltaArchiveManifest_InstallOperation op;
|
| + std::string file_name;
|
|
|
| typedef std::vector<Vertex>::size_type Index;
|
| static const Vertex::Index kInvalidIndex = -1;
|
| @@ -48,6 +50,8 @@ typedef std::vector<Vertex> Graph;
|
|
|
| typedef std::pair<Vertex::Index, Vertex::Index> Edge;
|
|
|
| +const uint64 kSparseHole = kuint64max;
|
| +
|
| } // namespace chromeos_update_engine
|
|
|
| #endif // CHROMEOS_PLATFORM_UPDATE_ENGINE_GRAPH_TYPES_H__
|
|
|