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

Side by Side Diff: content/browser/dom_storage/dom_storage_message_filter.h

Issue 2349713003: IPC::MessageFilter::OnFilterAdded: IPC::Sender -> IPC::Channel (Closed)
Patch Set: . Created 4 years, 3 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_DOM_STORAGE_DOM_STORAGE_MESSAGE_FILTER_H_ 5 #ifndef CONTENT_BROWSER_DOM_STORAGE_DOM_STORAGE_MESSAGE_FILTER_H_
6 #define CONTENT_BROWSER_DOM_STORAGE_DOM_STORAGE_MESSAGE_FILTER_H_ 6 #define CONTENT_BROWSER_DOM_STORAGE_DOM_STORAGE_MESSAGE_FILTER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 25 matching lines...) Expand all
36 public: 36 public:
37 explicit DOMStorageMessageFilter(DOMStorageContextWrapper* context); 37 explicit DOMStorageMessageFilter(DOMStorageContextWrapper* context);
38 38
39 private: 39 private:
40 ~DOMStorageMessageFilter() override; 40 ~DOMStorageMessageFilter() override;
41 41
42 void InitializeInSequence(); 42 void InitializeInSequence();
43 void UninitializeInSequence(); 43 void UninitializeInSequence();
44 44
45 // BrowserMessageFilter implementation 45 // BrowserMessageFilter implementation
46 void OnFilterAdded(IPC::Sender* sender) override; 46 void OnFilterAdded(IPC::Channel* channel) override;
47 void OnFilterRemoved() override; 47 void OnFilterRemoved() override;
48 base::TaskRunner* OverrideTaskRunnerForMessage( 48 base::TaskRunner* OverrideTaskRunnerForMessage(
49 const IPC::Message& message) override; 49 const IPC::Message& message) override;
50 bool OnMessageReceived(const IPC::Message& message) override; 50 bool OnMessageReceived(const IPC::Message& message) override;
51 51
52 // Message Handlers. 52 // Message Handlers.
53 void OnOpenStorageArea(int connection_id, 53 void OnOpenStorageArea(int connection_id,
54 int64_t namespace_id, 54 int64_t namespace_id,
55 const GURL& origin); 55 const GURL& origin);
56 void OnCloseStorageArea(int connection_id); 56 void OnCloseStorageArea(int connection_id);
(...skipping 29 matching lines...) Expand all
86 scoped_refptr<DOMStorageContextImpl> context_; 86 scoped_refptr<DOMStorageContextImpl> context_;
87 std::unique_ptr<DOMStorageHost> host_; 87 std::unique_ptr<DOMStorageHost> host_;
88 int connection_dispatching_message_for_; 88 int connection_dispatching_message_for_;
89 89
90 DISALLOW_IMPLICIT_CONSTRUCTORS(DOMStorageMessageFilter); 90 DISALLOW_IMPLICIT_CONSTRUCTORS(DOMStorageMessageFilter);
91 }; 91 };
92 92
93 } // namespace content 93 } // namespace content
94 94
95 #endif // CONTENT_BROWSER_DOM_STORAGE_DOM_STORAGE_MESSAGE_FILTER_H_ 95 #endif // CONTENT_BROWSER_DOM_STORAGE_DOM_STORAGE_MESSAGE_FILTER_H_
OLDNEW
« no previous file with comments | « components/tracing/child/child_trace_message_filter.cc ('k') | content/browser/dom_storage/dom_storage_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698