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

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

Issue 2771233002: Remove the wrapper functions content::RecordAction et al (Closed)
Patch Set: Rebased Created 3 years, 9 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 #include "content/browser/dom_storage/dom_storage_message_filter.h" 5 #include "content/browser/dom_storage/dom_storage_message_filter.h"
6 6
7 #include "base/auto_reset.h" 7 #include "base/auto_reset.h"
8 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "base/strings/nullable_string16.h" 9 #include "base/strings/nullable_string16.h"
10 #include "base/strings/utf_string_conversions.h" 10 #include "base/strings/utf_string_conversions.h"
11 #include "base/threading/sequenced_worker_pool.h" 11 #include "base/threading/sequenced_worker_pool.h"
12 #include "content/browser/bad_message.h" 12 #include "content/browser/bad_message.h"
13 #include "content/browser/dom_storage/dom_storage_area.h" 13 #include "content/browser/dom_storage/dom_storage_area.h"
14 #include "content/browser/dom_storage/dom_storage_context_wrapper.h" 14 #include "content/browser/dom_storage/dom_storage_context_wrapper.h"
15 #include "content/browser/dom_storage/dom_storage_host.h" 15 #include "content/browser/dom_storage/dom_storage_host.h"
16 #include "content/browser/dom_storage/dom_storage_namespace.h" 16 #include "content/browser/dom_storage/dom_storage_namespace.h"
17 #include "content/browser/dom_storage/dom_storage_task_runner.h" 17 #include "content/browser/dom_storage/dom_storage_task_runner.h"
18 #include "content/common/dom_storage/dom_storage_messages.h" 18 #include "content/common/dom_storage/dom_storage_messages.h"
19 #include "content/public/browser/user_metrics.h"
20 #include "url/gurl.h" 19 #include "url/gurl.h"
21 20
22 namespace content { 21 namespace content {
23 22
24 DOMStorageMessageFilter::DOMStorageMessageFilter( 23 DOMStorageMessageFilter::DOMStorageMessageFilter(
25 DOMStorageContextWrapper* context) 24 DOMStorageContextWrapper* context)
26 : BrowserMessageFilter(DOMStorageMsgStart), 25 : BrowserMessageFilter(DOMStorageMsgStart),
27 context_(context->context()), 26 context_(context->context()),
28 connection_dispatching_message_for_(0) { 27 connection_dispatching_message_for_(0) {
29 } 28 }
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 params.connection_id = connection_dispatching_message_for_; 199 params.connection_id = connection_dispatching_message_for_;
201 params.key = key; 200 params.key = key;
202 params.new_value = new_value; 201 params.new_value = new_value;
203 params.old_value = old_value; 202 params.old_value = old_value;
204 params.namespace_id = area->namespace_id(); 203 params.namespace_id = area->namespace_id();
205 Send(new DOMStorageMsg_Event(params)); 204 Send(new DOMStorageMsg_Event(params));
206 } 205 }
207 } 206 }
208 207
209 } // namespace content 208 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/browser_plugin/browser_plugin_guest.cc ('k') | content/browser/fileapi/fileapi_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698