/external/chromium_org/chrome/browser/policy/cloud/ |
cloud_policy_invalidator_unittest.cc | 21 #include "chrome/browser/invalidation/fake_invalidation_service.h" 83 // |invalidation_version| determines what invalidation the store will report. 108 // Disables the invalidation service. It is enabled by default. 111 // Enables the invalidation service. It is enabled by default. 114 // Causes the invalidation service to fire an invalidation. 115 syncer::Invalidation FireInvalidation( 120 // Causes the invalidation service to fire an invalidation with unknown 122 syncer::Invalidation FireUnknownVersionInvalidation(PolicyObject object) 328 syncer::Invalidation invalidation = syncer::Invalidation::Init( local 338 syncer::Invalidation invalidation = syncer::Invalidation::InitUnknownVersion( local [all...] |
cloud_policy_invalidator.h | 19 #include "sync/internal_api/public/base/invalidation.h" 27 namespace invalidation { namespace 39 // invalidation with no payload. 48 // once the invalidation service starts up. 56 // invalidation timestamps when determining if an invalidation is expired. 72 // |invalidation_service| is the invalidation service to use and must remain 74 void Initialize(invalidation::InvalidationService* invalidation_service); 102 // Handle an invalidation to the policy. 103 void HandleInvalidation(const syncer::Invalidation& invalidation) [all...] |
cloud_policy_invalidator.cc | 16 #include "components/invalidation/invalidation_service.h" 60 invalidation::InvalidationService* invalidation_service) { 104 // Acknowledge all except the invalidation with the highest version. 112 // Handle the highest version invalidation. 151 // invalidation version, acknowledge the latest invalidation. 163 const syncer::Invalidation& invalidation) { 166 !invalidation.is_unknown_version() && 167 invalidation.version() <= invalidation_version_) [all...] |
cloud_policy_browsertest.cc | 18 #include "chrome/browser/invalidation/fake_invalidation_service.h" 19 #include "chrome/browser/invalidation/profile_invalidation_provider_factory.h" 26 #include "components/invalidation/invalidation_service.h" 27 #include "components/invalidation/profile_invalidation_provider.h" 45 #include "sync/internal_api/public/base/invalidation.h" 81 return new invalidation::ProfileInvalidationProvider( 82 scoped_ptr<invalidation::InvalidationService>( 83 new invalidation::FakeInvalidationService)); 191 invalidation::ProfileInvalidationProviderFactory::GetInstance()-> 270 invalidation::FakeInvalidationService* GetInvalidationService() [all...] |
/external/chromium_org/sync/sessions/ |
data_type_tracker.h | 20 class Invalidation; 29 explicit DataTypeTracker(const invalidation::ObjectId& object_id); 41 // Tracks that we received invalidation notifications for this type. 66 // Returns true if we've received an invalidation since we last fetched
|
nudge_tracker_unittest.cc | 28 syncer::Invalidation BuildUnknownVersionInvalidation(ModelType type) { 29 invalidation::ObjectId id; 32 return Invalidation::InitUnknownVersion(id); 121 // An invalidation will override the refresh request source. 137 // Verifies the management of invalidation hints and GU trigger fields. 192 // Test the dropping of invalidation hints. Receives invalidations one by one. 227 // Test the dropping of invalidation hints. 271 // Record the unknown version invalidation. 293 // includes a known version invalidation to mix things up a bit. 747 bool IsInvalidationUnacknowledged(const syncer::Invalidation& invalidation) 777 syncer::Invalidation invalidation = BuildInvalidation(type, version, hint); local 791 syncer::Invalidation invalidation = BuildUnknownVersionInvalidation(type); local [all...] |
data_type_tracker.cc | 8 #include "sync/internal_api/public/base/invalidation.h" 16 DataTypeTracker::DataTypeTracker(const invalidation::ObjectId& object_id) 35 const Invalidation& a, 36 const Invalidation& b) { 53 // The invalidaitons service can only track one outsanding invalidation per
|
/external/chromium_org/sync/notifier/ |
invalidation_util.cc | 15 #include "sync/internal_api/public/base/invalidation.h" 17 namespace invalidation { namespace 18 void PrintTo(const invalidation::ObjectId& id, std::ostream* os) { 21 } // namespace invalidation 25 bool ObjectIdLessThan::operator()(const invalidation::ObjectId& lhs, 26 const invalidation::ObjectId& rhs) const { 32 const Invalidation& a, 33 const Invalidation& b) const { 51 invalidation::ObjectId* object_id) { 56 object_id->Init(ipc::invalidation::ObjectSource::CHROME_SYNC [all...] |
object_id_invalidation_map_unittest.cc | 18 : kIdOne(ipc::invalidation::ObjectSource::TEST, "one"), 19 kIdTwo(ipc::invalidation::ObjectSource::TEST, "two"), 20 kInv1(Invalidation::Init(kIdOne, 10, "ten")) { 31 const invalidation::ObjectId kIdOne; 32 const invalidation::ObjectId kIdTwo; 33 const Invalidation kInv1;
|
unacked_invalidation_set_test_util.cc | 46 bool operator()(const syncer::Invalidation& a, 47 const syncer::Invalidation& b) const {
|
/external/chromium_org/components/invalidation/ |
invalidation_logger.cc | 5 #include "components/invalidation/invalidation_logger.h" 9 #include "components/invalidation/invalidation_logger_observer.h" 12 namespace invalidation { namespace 90 std::vector<syncer::Invalidation> internal_invalidations; 92 for (std::vector<syncer::Invalidation>::const_iterator it = 122 } // namespace invalidation
|
sync_invalidation_listener.cc | 5 #include "components/invalidation/sync_invalidation_listener.h" 14 #include "google/cacheinvalidation/include/invalidation-client.h" 108 invalidation::InvalidationClient* client) { 117 invalidation::InvalidationClient* client, 118 const invalidation::Invalidation& invalidation, 119 const invalidation::AckHandle& ack_handle) { 124 const invalidation::ObjectId& id = invalidation.object_id() [all...] |
sync_invalidation_listener_unittest.cc | 14 #include "components/invalidation/fake_invalidation_state_tracker.h" 15 #include "components/invalidation/push_client_channel.h" 16 #include "components/invalidation/sync_invalidation_listener.h" 17 #include "google/cacheinvalidation/include/invalidation-client.h" 31 using invalidation::AckHandle; 32 using invalidation::ObjectId; 56 // Fake invalidation::InvalidationClient implementation that keeps 58 class FakeInvalidationClient : public invalidation::InvalidationClient { 75 // invalidation::InvalidationClient implementation. 94 const invalidation::vector<ObjectId>& object_ids) OVERRIDE [all...] |
sync_invalidation_listener.h | 5 // A simple wrapper around invalidation::InvalidationClient that 19 #include "components/invalidation/invalidation_export.h" 20 #include "components/invalidation/state_writer.h" 21 #include "components/invalidation/sync_system_resources.h" 22 #include "google/cacheinvalidation/include/invalidation-listener.h" 45 : public NON_EXPORTED_BASE(invalidation::InvalidationListener), 51 typedef base::Callback<invalidation::InvalidationClient*( 52 invalidation::SystemResources*, 54 const invalidation::string&, 55 const invalidation::string& [all...] |
/external/chromium_org/chrome/browser/sync/test/integration/ |
fake_server_invalidation_service.cc | 10 #include "components/invalidation/invalidation_service_util.h" 11 #include "sync/internal_api/public/base/invalidation.h" 19 : client_id_(invalidation::GenerateInvalidatorClientId()), 53 invalidation::InvalidationLogger* 88 invalidation_map.Insert(syncer::Invalidation::InitUnknownVersion(*it));
|
/external/chromium_org/chrome/browser/extensions/api/push_messaging/ |
push_messaging_invalidation_handler.cc | 13 #include "components/invalidation/invalidation_service.h" 35 object_ids.insert(invalidation::ObjectId( 36 ipc::invalidation::ObjectSource::CHROME_PUSH_MESSAGING, 43 bool ObjectIdToExtensionAndSubchannel(const invalidation::ObjectId& object_id, 47 ipc::invalidation::ObjectSource::CHROME_PUSH_MESSAGING) { 82 invalidation::InvalidationService* service, 135 const syncer::Invalidation& invalidation = list.back(); local 138 if (invalidation.is_unknown_version()) { 159 // We always forward unknown version invalidation when we receive one [all...] |
push_messaging_apitest.cc | 13 #include "chrome/browser/invalidation/fake_invalidation_service.h" 14 #include "chrome/browser/invalidation/profile_invalidation_provider_factory.h" 19 #include "components/invalidation/fake_invalidator.h" 20 #include "components/invalidation/invalidation_service.h" 21 #include "components/invalidation/profile_invalidation_provider.h" 24 #include "sync/internal_api/public/base/invalidation.h" 39 invalidation::ObjectId ExtensionAndSubchannelToObjectId( 41 return invalidation::ObjectId( 42 ipc::invalidation::ObjectSource::CHROME_PUSH_MESSAGING, 48 return new invalidation::ProfileInvalidationProvider [all...] |
/external/chromium_org/sync/android/java/src/org/chromium/sync/notifier/ |
InvalidationService.java | 15 import com.google.ipc.invalidation.external.client.InvalidationListener.RegistrationState; 16 import com.google.ipc.invalidation.external.client.contrib.AndroidListener; 17 import com.google.ipc.invalidation.external.client.types.ErrorInfo; 18 import com.google.ipc.invalidation.external.client.types.Invalidation; 19 import com.google.ipc.invalidation.external.client.types.ObjectId; 20 import com.google.protos.ipc.invalidation.Types.ClientType; 108 public void invalidate(Invalidation invalidation, byte[] ackHandle) { 109 byte[] payload = invalidation.getPayload() [all...] |
/external/chromium_org/sync/android/javatests/src/org/chromium/sync/notifier/ |
InvalidationServiceTest.java | 14 import com.google.ipc.invalidation.external.client.InvalidationListener.RegistrationState; 15 import com.google.ipc.invalidation.external.client.contrib.AndroidListener; 16 import com.google.ipc.invalidation.external.client.types.ErrorInfo; 17 import com.google.ipc.invalidation.external.client.types.Invalidation; 18 import com.google.ipc.invalidation.external.client.types.ObjectId; 359 * Test plan: call invalidate() with an invalidation that may or may not have a payload. 366 Invalidation invalidation = hasPayload ? local 367 Invalidation.newInstance(objectId, version, payload.getBytes()) [all...] |
/external/clang/test/Analysis/ |
inline.cpp | 181 namespace Invalidation {
|
/external/chromium_org/chrome/browser/sync/ |
profile_sync_service_android.cc | 103 invalidation::ObjectId object_id( 107 if (version == ipc::invalidation::Constants::UNKNOWN) { 109 syncer::Invalidation::InitUnknownVersion(object_id)); 115 DVLOG(1) << "Dropping redundant invalidation with version " << version; 120 syncer::Invalidation::Init(object_id, version, state));
|
/external/chromium_org/cc/resources/ |
picture_layer_tiling_set_unittest.cc | 163 const Region& invalidation, 171 *source_.get(), new_bounds, invalidation, minimum_scale); 174 Region invalidation; local 175 SyncTilings(new_bounds, invalidation, 0.f); 177 void SyncTilings(const gfx::Size& new_bounds, const Region& invalidation) { 178 SyncTilings(new_bounds, invalidation, 0.f); 181 Region invalidation; local 182 SyncTilings(new_bounds, invalidation, minimum_scale); 350 TEST_F(PictureLayerTilingSetSyncTest, Invalidation) {
|