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

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

Issue 2801083003: Rewrite references to "wtf/" to "platform/wtf/" in modules. (Closed)
Patch Set: Rebase again^3. Will try landing directly. Created 3 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 #include "modules/serviceworkers/ServiceWorkerGlobalScopeClient.h" 53 #include "modules/serviceworkers/ServiceWorkerGlobalScopeClient.h"
54 #include "modules/serviceworkers/ServiceWorkerRegistration.h" 54 #include "modules/serviceworkers/ServiceWorkerRegistration.h"
55 #include "modules/serviceworkers/ServiceWorkerScriptCachedMetadataHandler.h" 55 #include "modules/serviceworkers/ServiceWorkerScriptCachedMetadataHandler.h"
56 #include "modules/serviceworkers/ServiceWorkerThread.h" 56 #include "modules/serviceworkers/ServiceWorkerThread.h"
57 #include "modules/serviceworkers/WaitUntilObserver.h" 57 #include "modules/serviceworkers/WaitUntilObserver.h"
58 #include "platform/Histogram.h" 58 #include "platform/Histogram.h"
59 #include "platform/loader/fetch/MemoryCache.h" 59 #include "platform/loader/fetch/MemoryCache.h"
60 #include "platform/loader/fetch/ResourceLoaderOptions.h" 60 #include "platform/loader/fetch/ResourceLoaderOptions.h"
61 #include "platform/loader/fetch/ResourceRequest.h" 61 #include "platform/loader/fetch/ResourceRequest.h"
62 #include "platform/weborigin/KURL.h" 62 #include "platform/weborigin/KURL.h"
63 #include "platform/wtf/CurrentTime.h"
64 #include "platform/wtf/PtrUtil.h"
63 #include "public/platform/Platform.h" 65 #include "public/platform/Platform.h"
64 #include "public/platform/WebURL.h" 66 #include "public/platform/WebURL.h"
65 #include "wtf/CurrentTime.h"
66 #include "wtf/PtrUtil.h"
67 67
68 namespace blink { 68 namespace blink {
69 69
70 ServiceWorkerGlobalScope* ServiceWorkerGlobalScope::Create( 70 ServiceWorkerGlobalScope* ServiceWorkerGlobalScope::Create(
71 ServiceWorkerThread* thread, 71 ServiceWorkerThread* thread,
72 std::unique_ptr<WorkerThreadStartupData> startup_data) { 72 std::unique_ptr<WorkerThreadStartupData> startup_data) {
73 // Note: startupData is finalized on return. After the relevant parts has been 73 // Note: startupData is finalized on return. After the relevant parts has been
74 // passed along to the created 'context'. 74 // passed along to the created 'context'.
75 ServiceWorkerGlobalScope* context = new ServiceWorkerGlobalScope( 75 ServiceWorkerGlobalScope* context = new ServiceWorkerGlobalScope(
76 startup_data->script_url_, startup_data->user_agent_, thread, 76 startup_data->script_url_, startup_data->user_agent_, thread,
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 } 236 }
237 237
238 void ServiceWorkerGlobalScope::ExceptionThrown(ErrorEvent* event) { 238 void ServiceWorkerGlobalScope::ExceptionThrown(ErrorEvent* event) {
239 WorkerGlobalScope::ExceptionThrown(event); 239 WorkerGlobalScope::ExceptionThrown(event);
240 if (WorkerThreadDebugger* debugger = 240 if (WorkerThreadDebugger* debugger =
241 WorkerThreadDebugger::From(GetThread()->GetIsolate())) 241 WorkerThreadDebugger::From(GetThread()->GetIsolate()))
242 debugger->ExceptionThrown(GetThread(), event); 242 debugger->ExceptionThrown(GetThread(), event);
243 } 243 }
244 244
245 } // namespace blink 245 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698