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

Unified Diff: chrome/browser/chromeos/policy/device_cloud_policy_invalidator.h

Issue 460573005: Pass highest handled invalidation version between invalidators (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Code and tests done. Ready for review. Created 6 years, 4 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: chrome/browser/chromeos/policy/device_cloud_policy_invalidator.h
diff --git a/chrome/browser/chromeos/policy/device_cloud_policy_invalidator.h b/chrome/browser/chromeos/policy/device_cloud_policy_invalidator.h
index 7243640bb01c5781ce1c3121fb5fdc066a0c35a4..4ab0d45984c5b28b6bc44ed40fe145b1d3e5322d 100644
--- a/chrome/browser/chromeos/policy/device_cloud_policy_invalidator.h
+++ b/chrome/browser/chromeos/policy/device_cloud_policy_invalidator.h
@@ -5,6 +5,7 @@
#ifndef CHROME_BROWSER_CHROMEOS_POLICY_DEVICE_CLOUD_POLICY_INVALIDATOR_H_
#define CHROME_BROWSER_CHROMEOS_POLICY_DEVICE_CLOUD_POLICY_INVALIDATOR_H_
+#include "base/basictypes.h"
#include "base/compiler_specific.h"
#include "base/macros.h"
#include "base/memory/scoped_ptr.h"
@@ -88,6 +89,9 @@ class DeviceCloudPolicyInvalidator : public content::NotificationObserver {
// if no |CloudPolicyInvalidator| exists.
invalidation::InvalidationService* invalidation_service_;
+ // The highest invalidation version that was handled already.
+ int64 highest_handled_invalidation_version_;
+
// The current |CloudPolicyInvalidator|. NULL if no connected invalidation
// service is available.
scoped_ptr<CloudPolicyInvalidator> invalidator_;

Powered by Google App Engine
This is Rietveld 408576698