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

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

Issue 638503002: Replacing the OVERRIDE with override and FINAL with final in content/browser/[download|… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 #ifndef CONTENT_BROWSER_LOADER_RESOURCE_MESSAGE_FILTER_H_ 5 #ifndef CONTENT_BROWSER_LOADER_RESOURCE_MESSAGE_FILTER_H_
6 #define CONTENT_BROWSER_LOADER_RESOURCE_MESSAGE_FILTER_H_ 6 #define CONTENT_BROWSER_LOADER_RESOURCE_MESSAGE_FILTER_H_
7 7
8 #include "base/callback_forward.h" 8 #include "base/callback_forward.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 // NULL in unittests or for requests from the (NPAPI) plugin process. 44 // NULL in unittests or for requests from the (NPAPI) plugin process.
45 ResourceMessageFilter(int child_id, 45 ResourceMessageFilter(int child_id,
46 int process_type, 46 int process_type,
47 ChromeAppCacheService* appcache_service, 47 ChromeAppCacheService* appcache_service,
48 ChromeBlobStorageContext* blob_storage_context, 48 ChromeBlobStorageContext* blob_storage_context,
49 storage::FileSystemContext* file_system_context, 49 storage::FileSystemContext* file_system_context,
50 ServiceWorkerContextWrapper* service_worker_context, 50 ServiceWorkerContextWrapper* service_worker_context,
51 const GetContextsCallback& get_contexts_callback); 51 const GetContextsCallback& get_contexts_callback);
52 52
53 // BrowserMessageFilter implementation. 53 // BrowserMessageFilter implementation.
54 virtual void OnChannelClosing() OVERRIDE; 54 virtual void OnChannelClosing() override;
55 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; 55 virtual bool OnMessageReceived(const IPC::Message& message) override;
56 56
57 void GetContexts(const ResourceHostMsg_Request& request, 57 void GetContexts(const ResourceHostMsg_Request& request,
58 ResourceContext** resource_context, 58 ResourceContext** resource_context,
59 net::URLRequestContext** request_context); 59 net::URLRequestContext** request_context);
60 60
61 // Returns the net::URLRequestContext for the given request. 61 // Returns the net::URLRequestContext for the given request.
62 net::URLRequestContext* GetURLRequestContext(ResourceType request_type); 62 net::URLRequestContext* GetURLRequestContext(ResourceType request_type);
63 63
64 ChromeAppCacheService* appcache_service() const { 64 ChromeAppCacheService* appcache_service() const {
65 return appcache_service_.get(); 65 return appcache_service_.get();
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 101
102 // This must come last to make sure weak pointers are invalidated first. 102 // This must come last to make sure weak pointers are invalidated first.
103 base::WeakPtrFactory<ResourceMessageFilter> weak_ptr_factory_; 103 base::WeakPtrFactory<ResourceMessageFilter> weak_ptr_factory_;
104 104
105 DISALLOW_IMPLICIT_CONSTRUCTORS(ResourceMessageFilter); 105 DISALLOW_IMPLICIT_CONSTRUCTORS(ResourceMessageFilter);
106 }; 106 };
107 107
108 } // namespace content 108 } // namespace content
109 109
110 #endif // CONTENT_BROWSER_LOADER_RESOURCE_MESSAGE_FILTER_H_ 110 #endif // CONTENT_BROWSER_LOADER_RESOURCE_MESSAGE_FILTER_H_
OLDNEW
« no previous file with comments | « content/browser/loader/resource_loader_unittest.cc ('k') | content/browser/loader/resource_request_info_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698