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

Side by Side Diff: content/child/service_worker/service_worker_dispatcher.h

Issue 1865913005: Nuke WebPassOwnPtr<T> and replace it with std::unique_ptr<T>. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 // 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_CHILD_SERVICE_WORKER_SERVICE_WORKER_DISPATCHER_H_ 5 #ifndef CONTENT_CHILD_SERVICE_WORKER_SERVICE_WORKER_DISPATCHER_H_
6 #define CONTENT_CHILD_SERVICE_WORKER_SERVICE_WORKER_DISPATCHER_H_ 6 #define CONTENT_CHILD_SERVICE_WORKER_SERVICE_WORKER_DISPATCHER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/id_map.h" 13 #include "base/id_map.h"
14 #include "base/macros.h" 14 #include "base/macros.h"
15 #include "base/memory/ref_counted.h" 15 #include "base/memory/ref_counted.h"
16 #include "base/memory/scoped_ptr.h"
16 #include "base/strings/string16.h" 17 #include "base/strings/string16.h"
17 #include "content/public/child/worker_thread.h" 18 #include "content/public/child/worker_thread.h"
18 #include "third_party/WebKit/public/platform/modules/serviceworker/WebServiceWor kerError.h" 19 #include "third_party/WebKit/public/platform/modules/serviceworker/WebServiceWor kerError.h"
19 #include "third_party/WebKit/public/platform/modules/serviceworker/WebServiceWor kerProvider.h" 20 #include "third_party/WebKit/public/platform/modules/serviceworker/WebServiceWor kerProvider.h"
20 #include "third_party/WebKit/public/platform/modules/serviceworker/WebServiceWor kerRegistration.h" 21 #include "third_party/WebKit/public/platform/modules/serviceworker/WebServiceWor kerRegistration.h"
21 #include "third_party/WebKit/public/platform/modules/serviceworker/WebServiceWor kerState.h" 22 #include "third_party/WebKit/public/platform/modules/serviceworker/WebServiceWor kerState.h"
22 23
23 class GURL; 24 class GURL;
24 25
25 namespace base { 26 namespace base {
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 274
274 scoped_refptr<ThreadSafeSender> thread_safe_sender_; 275 scoped_refptr<ThreadSafeSender> thread_safe_sender_;
275 scoped_refptr<base::SingleThreadTaskRunner> main_thread_task_runner_; 276 scoped_refptr<base::SingleThreadTaskRunner> main_thread_task_runner_;
276 277
277 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerDispatcher); 278 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerDispatcher);
278 }; 279 };
279 280
280 } // namespace content 281 } // namespace content
281 282
282 #endif // CONTENT_CHILD_SERVICE_WORKER_SERVICE_WORKER_DISPATCHER_H_ 283 #endif // CONTENT_CHILD_SERVICE_WORKER_SERVICE_WORKER_DISPATCHER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698