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

Side by Side Diff: third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerGlobalScope.h

Issue 1882003002: include RefCounted.h where needed, only. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: compile fix Created 4 years, 8 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 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 18 matching lines...) Expand all
29 */ 29 */
30 #ifndef ServiceWorkerGlobalScope_h 30 #ifndef ServiceWorkerGlobalScope_h
31 #define ServiceWorkerGlobalScope_h 31 #define ServiceWorkerGlobalScope_h
32 32
33 #include "bindings/modules/v8/UnionTypesModules.h" 33 #include "bindings/modules/v8/UnionTypesModules.h"
34 #include "core/workers/WorkerGlobalScope.h" 34 #include "core/workers/WorkerGlobalScope.h"
35 #include "modules/ModulesExport.h" 35 #include "modules/ModulesExport.h"
36 #include "platform/heap/Handle.h" 36 #include "platform/heap/Handle.h"
37 #include "public/platform/modules/serviceworker/WebServiceWorkerRegistration.h" 37 #include "public/platform/modules/serviceworker/WebServiceWorkerRegistration.h"
38 #include "wtf/Assertions.h" 38 #include "wtf/Assertions.h"
39 #include "wtf/PassRefPtr.h" 39 #include "wtf/Forward.h"
40 #include "wtf/RefCounted.h"
41 40
42 namespace blink { 41 namespace blink {
43 42
44 class Dictionary; 43 class Dictionary;
45 class Request; 44 class Request;
46 class ScriptPromise; 45 class ScriptPromise;
47 class ScriptState; 46 class ScriptState;
48 class ServiceWorkerClients; 47 class ServiceWorkerClients;
49 class ServiceWorkerRegistration; 48 class ServiceWorkerRegistration;
50 class ServiceWorkerThread; 49 class ServiceWorkerThread;
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 size_t m_scriptCount; 108 size_t m_scriptCount;
110 size_t m_scriptTotalSize; 109 size_t m_scriptTotalSize;
111 size_t m_scriptCachedMetadataTotalSize; 110 size_t m_scriptCachedMetadataTotalSize;
112 }; 111 };
113 112
114 DEFINE_TYPE_CASTS(ServiceWorkerGlobalScope, ExecutionContext, context, context-> isServiceWorkerGlobalScope(), context.isServiceWorkerGlobalScope()); 113 DEFINE_TYPE_CASTS(ServiceWorkerGlobalScope, ExecutionContext, context, context-> isServiceWorkerGlobalScope(), context.isServiceWorkerGlobalScope());
115 114
116 } // namespace blink 115 } // namespace blink
117 116
118 #endif // ServiceWorkerGlobalScope_h 117 #endif // ServiceWorkerGlobalScope_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698