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

Side by Side Diff: content/browser/file_system/file_system_dispatcher_host.h

Issue 7661031: Tag IPC::Channel::Listener implementations with OVERRIDE (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 4 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/browser/browser_message_filter.h ('k') | content/browser/gpu/gpu_process_host.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_FILE_SYSTEM_FILE_SYSTEM_DISPATCHER_HOST_H_ 5 #ifndef CONTENT_BROWSER_FILE_SYSTEM_FILE_SYSTEM_DISPATCHER_HOST_H_
6 #define CONTENT_BROWSER_FILE_SYSTEM_FILE_SYSTEM_DISPATCHER_HOST_H_ 6 #define CONTENT_BROWSER_FILE_SYSTEM_FILE_SYSTEM_DISPATCHER_HOST_H_
7 7
8 #include <set> 8 #include <set>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 26 matching lines...) Expand all
37 public: 37 public:
38 // Used by the renderer. 38 // Used by the renderer.
39 explicit FileSystemDispatcherHost( 39 explicit FileSystemDispatcherHost(
40 const content::ResourceContext* resource_context); 40 const content::ResourceContext* resource_context);
41 // Used by the worker, since it has the context handy already. 41 // Used by the worker, since it has the context handy already.
42 FileSystemDispatcherHost(net::URLRequestContext* request_context, 42 FileSystemDispatcherHost(net::URLRequestContext* request_context,
43 fileapi::FileSystemContext* file_system_context); 43 fileapi::FileSystemContext* file_system_context);
44 virtual ~FileSystemDispatcherHost(); 44 virtual ~FileSystemDispatcherHost();
45 45
46 // BrowserMessageFilter implementation. 46 // BrowserMessageFilter implementation.
47 virtual void OnChannelConnected(int32 peer_pid); 47 virtual void OnChannelConnected(int32 peer_pid) OVERRIDE;
48 virtual bool OnMessageReceived(const IPC::Message& message, 48 virtual bool OnMessageReceived(const IPC::Message& message,
49 bool* message_was_ok); 49 bool* message_was_ok) OVERRIDE;
50 50
51 void UnregisterOperation(int request_id); 51 void UnregisterOperation(int request_id);
52 52
53 private: 53 private:
54 void OnOpen(int request_id, 54 void OnOpen(int request_id,
55 const GURL& origin_url, 55 const GURL& origin_url,
56 fileapi::FileSystemType type, 56 fileapi::FileSystemType type,
57 int64 requested_size, 57 int64 requested_size,
58 bool create); 58 bool create);
59 void OnMove(int request_id, 59 void OnMove(int request_id,
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 96
97 // This holds the ResourceContext until Init() can be called from the 97 // This holds the ResourceContext until Init() can be called from the
98 // IO thread, which will extract the net::URLRequestContext from it. 98 // IO thread, which will extract the net::URLRequestContext from it.
99 const content::ResourceContext* resource_context_; 99 const content::ResourceContext* resource_context_;
100 net::URLRequestContext* request_context_; 100 net::URLRequestContext* request_context_;
101 101
102 DISALLOW_COPY_AND_ASSIGN(FileSystemDispatcherHost); 102 DISALLOW_COPY_AND_ASSIGN(FileSystemDispatcherHost);
103 }; 103 };
104 104
105 #endif // CONTENT_BROWSER_FILE_SYSTEM_FILE_SYSTEM_DISPATCHER_HOST_H_ 105 #endif // CONTENT_BROWSER_FILE_SYSTEM_FILE_SYSTEM_DISPATCHER_HOST_H_
OLDNEW
« no previous file with comments | « content/browser/browser_message_filter.h ('k') | content/browser/gpu/gpu_process_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698