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

Side by Side Diff: third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerContainer.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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 #include "core/frame/csp/ContentSecurityPolicy.h" 50 #include "core/frame/csp/ContentSecurityPolicy.h"
51 #include "modules/EventTargetModules.h" 51 #include "modules/EventTargetModules.h"
52 #include "modules/serviceworkers/NavigatorServiceWorker.h" 52 #include "modules/serviceworkers/NavigatorServiceWorker.h"
53 #include "modules/serviceworkers/ServiceWorker.h" 53 #include "modules/serviceworkers/ServiceWorker.h"
54 #include "modules/serviceworkers/ServiceWorkerContainerClient.h" 54 #include "modules/serviceworkers/ServiceWorkerContainerClient.h"
55 #include "modules/serviceworkers/ServiceWorkerError.h" 55 #include "modules/serviceworkers/ServiceWorkerError.h"
56 #include "modules/serviceworkers/ServiceWorkerRegistration.h" 56 #include "modules/serviceworkers/ServiceWorkerRegistration.h"
57 #include "platform/RuntimeEnabledFeatures.h" 57 #include "platform/RuntimeEnabledFeatures.h"
58 #include "platform/weborigin/SchemeRegistry.h" 58 #include "platform/weborigin/SchemeRegistry.h"
59 #include "platform/weborigin/SecurityViolationReportingPolicy.h" 59 #include "platform/weborigin/SecurityViolationReportingPolicy.h"
60 #include "platform/wtf/PtrUtil.h"
60 #include "public/platform/WebString.h" 61 #include "public/platform/WebString.h"
61 #include "public/platform/WebURL.h" 62 #include "public/platform/WebURL.h"
62 #include "public/platform/modules/serviceworker/WebServiceWorker.h" 63 #include "public/platform/modules/serviceworker/WebServiceWorker.h"
63 #include "public/platform/modules/serviceworker/WebServiceWorkerProvider.h" 64 #include "public/platform/modules/serviceworker/WebServiceWorkerProvider.h"
64 #include "public/platform/modules/serviceworker/WebServiceWorkerRegistration.h" 65 #include "public/platform/modules/serviceworker/WebServiceWorkerRegistration.h"
65 #include "wtf/PtrUtil.h"
66 66
67 namespace blink { 67 namespace blink {
68 68
69 class GetRegistrationCallback : public WebServiceWorkerProvider:: 69 class GetRegistrationCallback : public WebServiceWorkerProvider::
70 WebServiceWorkerGetRegistrationCallbacks { 70 WebServiceWorkerGetRegistrationCallbacks {
71 public: 71 public:
72 explicit GetRegistrationCallback(ScriptPromiseResolver* resolver) 72 explicit GetRegistrationCallback(ScriptPromiseResolver* resolver)
73 : resolver_(resolver) {} 73 : resolver_(resolver) {}
74 ~GetRegistrationCallback() override {} 74 ~GetRegistrationCallback() override {}
75 75
(...skipping 410 matching lines...) Expand 10 before | Expand all | Expand 10 after
486 486
487 if (ServiceWorkerContainerClient* client = 487 if (ServiceWorkerContainerClient* client =
488 ServiceWorkerContainerClient::From(execution_context)) { 488 ServiceWorkerContainerClient::From(execution_context)) {
489 provider_ = client->Provider(); 489 provider_ = client->Provider();
490 if (provider_) 490 if (provider_)
491 provider_->SetClient(this); 491 provider_->SetClient(this);
492 } 492 }
493 } 493 }
494 494
495 } // namespace blink 495 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698