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

Side by Side Diff: content/browser/shared_worker/shared_worker_service_impl.cc

Issue 1549113002: Switch to standard integer types in content/browser/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 12 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 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/browser/shared_worker/shared_worker_service_impl.h" 5 #include "content/browser/shared_worker/shared_worker_service_impl.h"
6 6
7 #include <stddef.h>
8
7 #include <algorithm> 9 #include <algorithm>
8 #include <iterator> 10 #include <iterator>
9 #include <set> 11 #include <set>
10 #include <vector> 12 #include <vector>
11 13
12 #include "base/callback.h" 14 #include "base/callback.h"
15 #include "base/macros.h"
13 #include "base/memory/ref_counted.h" 16 #include "base/memory/ref_counted.h"
14 #include "content/browser/devtools/shared_worker_devtools_manager.h" 17 #include "content/browser/devtools/shared_worker_devtools_manager.h"
15 #include "content/browser/renderer_host/render_process_host_impl.h" 18 #include "content/browser/renderer_host/render_process_host_impl.h"
16 #include "content/browser/shared_worker/shared_worker_host.h" 19 #include "content/browser/shared_worker/shared_worker_host.h"
17 #include "content/browser/shared_worker/shared_worker_instance.h" 20 #include "content/browser/shared_worker/shared_worker_instance.h"
18 #include "content/browser/shared_worker/shared_worker_message_filter.h" 21 #include "content/browser/shared_worker/shared_worker_message_filter.h"
19 #include "content/browser/shared_worker/worker_document_set.h" 22 #include "content/browser/shared_worker/worker_document_set.h"
20 #include "content/common/view_messages.h" 23 #include "content/common/view_messages.h"
21 #include "content/common/worker_messages.h" 24 #include "content/common/worker_messages.h"
22 #include "content/public/browser/browser_thread.h" 25 #include "content/public/browser/browser_thread.h"
(...skipping 641 matching lines...) Expand 10 before | Expand all | Expand 10 after
664 UpdateWorkerDependencyFunc new_func) { 667 UpdateWorkerDependencyFunc new_func) {
665 update_worker_dependency_ = new_func; 668 update_worker_dependency_ = new_func;
666 } 669 }
667 670
668 void SharedWorkerServiceImpl::ChangeTryIncrementWorkerRefCountFuncForTesting( 671 void SharedWorkerServiceImpl::ChangeTryIncrementWorkerRefCountFuncForTesting(
669 bool (*new_func)(int)) { 672 bool (*new_func)(int)) {
670 s_try_increment_worker_ref_count_ = new_func; 673 s_try_increment_worker_ref_count_ = new_func;
671 } 674 }
672 675
673 } // namespace content 676 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698