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

Side by Side Diff: content/browser/loader/resource_dispatcher_host_impl.h

Issue 1162943002: Replace more ObserverList with base::ObserverList. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@observer
Patch Set: Created 5 years, 6 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // This is the browser side of the resource dispatcher, it receives requests 5 // This is the browser side of the resource dispatcher, it receives requests
6 // from the child process (i.e. [Renderer, Plugin, Worker]ProcessHost), and 6 // from the child process (i.e. [Renderer, Plugin, Worker]ProcessHost), and
7 // dispatches them to URLRequests. It then forwards the messages from the 7 // dispatches them to URLRequests. It then forwards the messages from the
8 // URLRequests back to the correct process for handling. 8 // URLRequests back to the correct process for handling.
9 // 9 //
10 // See http://dev.chromium.org/developers/design-documents/multi-process-resourc e-loading 10 // See http://dev.chromium.org/developers/design-documents/multi-process-resourc e-loading
(...skipping 556 matching lines...) Expand 10 before | Expand all | Expand 10 after
567 567
568 ResourceDispatcherHostDelegate* delegate_; 568 ResourceDispatcherHostDelegate* delegate_;
569 569
570 bool allow_cross_origin_auth_prompt_; 570 bool allow_cross_origin_auth_prompt_;
571 571
572 // http://crbug.com/90971 - Assists in tracking down use-after-frees on 572 // http://crbug.com/90971 - Assists in tracking down use-after-frees on
573 // shutdown. 573 // shutdown.
574 std::set<const ResourceContext*> active_resource_contexts_; 574 std::set<const ResourceContext*> active_resource_contexts_;
575 575
576 typedef std::map<GlobalRequestID, 576 typedef std::map<GlobalRequestID,
577 ObserverList<ResourceMessageDelegate>*> DelegateMap; 577 base::ObserverList<ResourceMessageDelegate>*> DelegateMap;
578 DelegateMap delegate_map_; 578 DelegateMap delegate_map_;
579 579
580 scoped_ptr<ResourceScheduler> scheduler_; 580 scoped_ptr<ResourceScheduler> scheduler_;
581 581
582 DISALLOW_COPY_AND_ASSIGN(ResourceDispatcherHostImpl); 582 DISALLOW_COPY_AND_ASSIGN(ResourceDispatcherHostImpl);
583 }; 583 };
584 584
585 } // namespace content 585 } // namespace content
586 586
587 #endif // CONTENT_BROWSER_LOADER_RESOURCE_DISPATCHER_HOST_IMPL_H_ 587 #endif // CONTENT_BROWSER_LOADER_RESOURCE_DISPATCHER_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/gpu/gpu_data_manager_impl_private.h ('k') | content/browser/loader/resource_dispatcher_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698