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

Side by Side Diff: trunk/src/chrome/browser/invalidation/invalidation_frontend_test_template.h

Issue 17610004: Revert 208315 "Make use of InvalidationService" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 5 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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 // This class defines tests that implementations of InvalidationFrontend should 5 // This class defines tests that implementations of InvalidationFrontend should
6 // pass in order to be conformant. Here's how you use it to test your 6 // pass in order to be conformant. Here's how you use it to test your
7 // implementation. 7 // implementation.
8 // 8 //
9 // Say your class is called MyInvalidationFrontend. Then you need to define a 9 // Say your class is called MyInvalidationFrontend. Then you need to define a
10 // class called MyInvalidationFrontendTestDelegate in 10 // class called MyInvalidationFrontendTestDelegate in
(...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after
375 handler.GetLastRetrievedState()); 375 handler.GetLastRetrievedState());
376 376
377 invalidator->UnregisterInvalidationHandler(&handler); 377 invalidator->UnregisterInvalidationHandler(&handler);
378 } 378 }
379 379
380 REGISTER_TYPED_TEST_CASE_P(InvalidationFrontendTest, 380 REGISTER_TYPED_TEST_CASE_P(InvalidationFrontendTest,
381 Basic, MultipleHandlers, EmptySetUnregisters, 381 Basic, MultipleHandlers, EmptySetUnregisters,
382 GetInvalidatorStateAlwaysCurrent); 382 GetInvalidatorStateAlwaysCurrent);
383 383
384 #endif // CHROME_BROWSER_INVALIDATION_INVALIDATION_FRONTEND_TEST_TEMPLATE_H_ 384 #endif // CHROME_BROWSER_INVALIDATION_INVALIDATION_FRONTEND_TEST_TEMPLATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698