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

Side by Side Diff: content/browser/service_worker/service_worker_version.h

Issue 2431313003: Mojofy unittests related to service workers (Closed)
Patch Set: Rebase Created 4 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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 #ifndef CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_VERSION_H_ 5 #ifndef CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_VERSION_H_
6 #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_VERSION_H_ 6 #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_VERSION_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <functional> 10 #include <functional>
(...skipping 397 matching lines...) Expand 10 before | Expand all | Expand 10 after
408 408
409 private: 409 private:
410 friend class base::RefCounted<ServiceWorkerVersion>; 410 friend class base::RefCounted<ServiceWorkerVersion>;
411 friend class ServiceWorkerMetrics; 411 friend class ServiceWorkerMetrics;
412 friend class ServiceWorkerReadFromCacheJobTest; 412 friend class ServiceWorkerReadFromCacheJobTest;
413 friend class ServiceWorkerStallInStoppingTest; 413 friend class ServiceWorkerStallInStoppingTest;
414 friend class ServiceWorkerURLRequestJobTest; 414 friend class ServiceWorkerURLRequestJobTest;
415 friend class ServiceWorkerVersionBrowserTest; 415 friend class ServiceWorkerVersionBrowserTest;
416 friend class ServiceWorkerVersionTestP; 416 friend class ServiceWorkerVersionTestP;
417 417
418 FRIEND_TEST_ALL_PREFIXES(ServiceWorkerControlleeRequestHandlerTest, 418 FRIEND_TEST_ALL_PREFIXES(ServiceWorkerControlleeRequestHandlerTestP,
419 ActivateWaitingVersion); 419 ActivateWaitingVersion);
420 FRIEND_TEST_ALL_PREFIXES(ServiceWorkerControlleeRequestHandlerTest, 420 FRIEND_TEST_ALL_PREFIXES(ServiceWorkerControlleeRequestHandlerTestP,
421 FallbackWithNoFetchHandler); 421 FallbackWithNoFetchHandler);
422 FRIEND_TEST_ALL_PREFIXES(ServiceWorkerVersionTestP, IdleTimeout); 422 FRIEND_TEST_ALL_PREFIXES(ServiceWorkerVersionTestP, IdleTimeout);
423 FRIEND_TEST_ALL_PREFIXES(ServiceWorkerVersionTestP, SetDevToolsAttached); 423 FRIEND_TEST_ALL_PREFIXES(ServiceWorkerVersionTestP, SetDevToolsAttached);
424 FRIEND_TEST_ALL_PREFIXES(ServiceWorkerVersionTestP, StaleUpdate_FreshWorker); 424 FRIEND_TEST_ALL_PREFIXES(ServiceWorkerVersionTestP, StaleUpdate_FreshWorker);
425 FRIEND_TEST_ALL_PREFIXES(ServiceWorkerVersionTestP, 425 FRIEND_TEST_ALL_PREFIXES(ServiceWorkerVersionTestP,
426 StaleUpdate_NonActiveWorker); 426 StaleUpdate_NonActiveWorker);
427 FRIEND_TEST_ALL_PREFIXES(ServiceWorkerVersionTestP, StaleUpdate_StartWorker); 427 FRIEND_TEST_ALL_PREFIXES(ServiceWorkerVersionTestP, StaleUpdate_StartWorker);
428 FRIEND_TEST_ALL_PREFIXES(ServiceWorkerVersionTestP, 428 FRIEND_TEST_ALL_PREFIXES(ServiceWorkerVersionTestP,
429 StaleUpdate_RunningWorker); 429 StaleUpdate_RunningWorker);
430 FRIEND_TEST_ALL_PREFIXES(ServiceWorkerVersionTestP, 430 FRIEND_TEST_ALL_PREFIXES(ServiceWorkerVersionTestP,
(...skipping 457 matching lines...) Expand 10 before | Expand all | Expand 10 after
888 888
889 // At this point |this| can have been deleted, so don't do anything other 889 // At this point |this| can have been deleted, so don't do anything other
890 // than returning. 890 // than returning.
891 891
892 return true; 892 return true;
893 } 893 }
894 894
895 } // namespace content 895 } // namespace content
896 896
897 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_VERSION_H_ 897 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_VERSION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698