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

Unified Diff: services/resource_coordinator/public/cpp/coordination_unit_id.h

Issue 2892443002: [GRC] Process Coordination Unit support for Global Resource Controller (Closed)
Patch Set: Remove unused headers and use forward declarations Created 3 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: services/resource_coordinator/public/cpp/coordination_unit_id.h
diff --git a/services/resource_coordinator/public/cpp/coordination_unit_id.h b/services/resource_coordinator/public/cpp/coordination_unit_id.h
index 71e9612ea0e88853ccd728f16572f82bb7cab5a0..995114f4c493c8a8192e1eaf03a3c80ed3c0fae2 100644
--- a/services/resource_coordinator/public/cpp/coordination_unit_id.h
+++ b/services/resource_coordinator/public/cpp/coordination_unit_id.h
@@ -18,6 +18,7 @@ struct SERVICES_RESOURCE_COORDINATOR_PUBLIC_CPP_EXPORT CoordinationUnitID {
CoordinationUnitID();
CoordinationUnitID(const CoordinationUnitType& type,
const std::string& new_id);
+ CoordinationUnitID(const CoordinationUnitType& type, uint64_t new_id);
oystein (OOO til 10th of July) 2017/05/17 23:06:07 Slight yak shave, sorry: Can you make the id type
matthalp 2017/05/18 16:13:46 Done, but with a caveat: The most straight-forwar
oystein (OOO til 10th of July) 2017/05/18 21:24:32 Yep that makes sense to me, including the rename:
bool operator==(const CoordinationUnitID& b) const {
return id == b.id && type == b.type;

Powered by Google App Engine
This is Rietveld 408576698