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

Side by Side Diff: content/browser/quota_dispatcher_host.h

Issue 292443004: Remove IPC_BEGIN_MESSAGE_MAP_EX macro since r270839 made all bad IPCs kill their child processes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 6 years, 7 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
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_BROWSER_QUOTA_DISPATCHER_HOST_H_ 5 #ifndef CONTENT_BROWSER_QUOTA_DISPATCHER_HOST_H_
6 #define CONTENT_BROWSER_QUOTA_DISPATCHER_HOST_H_ 6 #define CONTENT_BROWSER_QUOTA_DISPATCHER_HOST_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/id_map.h" 9 #include "base/id_map.h"
10 #include "content/public/browser/browser_message_filter.h" 10 #include "content/public/browser/browser_message_filter.h"
(...skipping 13 matching lines...) Expand all
24 class QuotaPermissionContext; 24 class QuotaPermissionContext;
25 struct StorageQuotaParams; 25 struct StorageQuotaParams;
26 26
27 class QuotaDispatcherHost : public BrowserMessageFilter { 27 class QuotaDispatcherHost : public BrowserMessageFilter {
28 public: 28 public:
29 QuotaDispatcherHost(int process_id, 29 QuotaDispatcherHost(int process_id,
30 quota::QuotaManager* quota_manager, 30 quota::QuotaManager* quota_manager,
31 QuotaPermissionContext* permission_context); 31 QuotaPermissionContext* permission_context);
32 32
33 // BrowserMessageFilter: 33 // BrowserMessageFilter:
34 virtual bool OnMessageReceived(const IPC::Message& message, 34 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
35 bool* message_was_ok) OVERRIDE;
36 35
37 protected: 36 protected:
38 virtual ~QuotaDispatcherHost(); 37 virtual ~QuotaDispatcherHost();
39 38
40 private: 39 private:
41 class RequestDispatcher; 40 class RequestDispatcher;
42 class QueryUsageAndQuotaDispatcher; 41 class QueryUsageAndQuotaDispatcher;
43 class RequestQuotaDispatcher; 42 class RequestQuotaDispatcher;
44 43
45 void OnQueryStorageUsageAndQuota( 44 void OnQueryStorageUsageAndQuota(
(...skipping 11 matching lines...) Expand all
57 IDMap<RequestDispatcher, IDMapOwnPointer> outstanding_requests_; 56 IDMap<RequestDispatcher, IDMapOwnPointer> outstanding_requests_;
58 57
59 base::WeakPtrFactory<QuotaDispatcherHost> weak_factory_; 58 base::WeakPtrFactory<QuotaDispatcherHost> weak_factory_;
60 59
61 DISALLOW_IMPLICIT_CONSTRUCTORS(QuotaDispatcherHost); 60 DISALLOW_IMPLICIT_CONSTRUCTORS(QuotaDispatcherHost);
62 }; 61 };
63 62
64 } // namespace content 63 } // namespace content
65 64
66 #endif // CONTENT_BROWSER_QUOTA_DISPATCHER_HOST_H_ 65 #endif // CONTENT_BROWSER_QUOTA_DISPATCHER_HOST_H_
OLDNEW
« no previous file with comments | « content/browser/push_messaging_message_filter.cc ('k') | content/browser/quota_dispatcher_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698