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

Side by Side Diff: content/renderer/service_worker/service_worker_script_context.cc

Issue 397933003: Service Workers: Clean up cpplint.py warnings (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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
« no previous file with comments | « content/renderer/service_worker/embedded_worker_context_client.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #include "content/renderer/service_worker/service_worker_script_context.h" 5 #include "content/renderer/service_worker/service_worker_script_context.h"
6 6
7 #include <map>
8
7 #include "base/logging.h" 9 #include "base/logging.h"
8 #include "content/child/thread_safe_sender.h" 10 #include "content/child/thread_safe_sender.h"
9 #include "content/child/webmessageportchannel_impl.h" 11 #include "content/child/webmessageportchannel_impl.h"
10 #include "content/common/service_worker/service_worker_messages.h" 12 #include "content/common/service_worker/service_worker_messages.h"
11 #include "content/renderer/service_worker/embedded_worker_context_client.h" 13 #include "content/renderer/service_worker/embedded_worker_context_client.h"
12 #include "ipc/ipc_message.h" 14 #include "ipc/ipc_message.h"
13 #include "third_party/WebKit/public/platform/WebReferrerPolicy.h" 15 #include "third_party/WebKit/public/platform/WebReferrerPolicy.h"
14 #include "third_party/WebKit/public/platform/WebServiceWorkerRequest.h" 16 #include "third_party/WebKit/public/platform/WebServiceWorkerRequest.h"
15 #include "third_party/WebKit/public/platform/WebString.h" 17 #include "third_party/WebKit/public/platform/WebString.h"
16 #include "third_party/WebKit/public/platform/WebURL.h" 18 #include "third_party/WebKit/public/platform/WebURL.h"
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 info->clientIDs = client_ids; 185 info->clientIDs = client_ids;
184 callbacks->onSuccess(info.release()); 186 callbacks->onSuccess(info.release());
185 pending_clients_callbacks_.Remove(request_id); 187 pending_clients_callbacks_.Remove(request_id);
186 } 188 }
187 189
188 int ServiceWorkerScriptContext::GetRoutingID() const { 190 int ServiceWorkerScriptContext::GetRoutingID() const {
189 return embedded_context_->embedded_worker_id(); 191 return embedded_context_->embedded_worker_id();
190 } 192 }
191 193
192 } // namespace content 194 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/service_worker/embedded_worker_context_client.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698