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

Side by Side Diff: sync/notifier/invalidator_factory.h

Issue 10911084: Implement Invalidator::Acknowledge (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Restart test + more cleanup Created 8 years, 2 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 SYNC_NOTIFIER_INVALIDATOR_FACTORY_H_ 5 #ifndef SYNC_NOTIFIER_INVALIDATOR_FACTORY_H_
6 #define SYNC_NOTIFIER_INVALIDATOR_FACTORY_H_ 6 #define SYNC_NOTIFIER_INVALIDATOR_FACTORY_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
(...skipping 20 matching lines...) Expand all
31 ~InvalidatorFactory(); 31 ~InvalidatorFactory();
32 32
33 // Creates an invalidator. Caller takes ownership of the returned 33 // Creates an invalidator. Caller takes ownership of the returned
34 // object. However, the returned object must not outlive the 34 // object. However, the returned object must not outlive the
35 // factory from which it was created. Can be called on any thread. 35 // factory from which it was created. Can be called on any thread.
36 Invalidator* CreateInvalidator(); 36 Invalidator* CreateInvalidator();
37 37
38 private: 38 private:
39 const notifier::NotifierOptions notifier_options_; 39 const notifier::NotifierOptions notifier_options_;
40 const std::string client_info_; 40 const std::string client_info_;
41 const InvalidationVersionMap initial_max_invalidation_versions_; 41 const InvalidationStateMap initial_invalidation_state_map_;
42 const std::string invalidation_bootstrap_data_; 42 const std::string invalidation_bootstrap_data_;
43 const WeakHandle<InvalidationStateTracker> 43 const WeakHandle<InvalidationStateTracker>
44 invalidation_state_tracker_; 44 invalidation_state_tracker_;
45 }; 45 };
46 46
47 } // namespace syncer 47 } // namespace syncer
48 48
49 #endif // SYNC_NOTIFIER_INVALIDATOR_FACTORY_H_ 49 #endif // SYNC_NOTIFIER_INVALIDATOR_FACTORY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698