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

Side by Side Diff: chrome/browser/in_process_webkit/dom_storage_namespace.cc

Issue 5722003: Make DOMStorageDispatcherHost be a message filter (and rename it accordingly)... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: get rid of _DELAY_HANDLE macro Created 10 years 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 (c) 2010 The Chromium Authors. All rights reserved. Use of this 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. Use of this
2 // source code is governed by a BSD-style license that can be found in the 2 // source code is governed by a BSD-style license that can be found in the
3 // LICENSE file. 3 // LICENSE file.
4 4
5 #include "chrome/browser/in_process_webkit/dom_storage_namespace.h" 5 #include "chrome/browser/in_process_webkit/dom_storage_namespace.h"
6 6
7 #include "base/file_path.h" 7 #include "base/file_path.h"
8 #include "chrome/browser/in_process_webkit/dom_storage_area.h" 8 #include "chrome/browser/in_process_webkit/dom_storage_area.h"
9 #include "chrome/browser/in_process_webkit/dom_storage_context.h" 9 #include "chrome/browser/in_process_webkit/dom_storage_context.h"
10 #include "chrome/browser/in_process_webkit/dom_storage_dispatcher_host.h" 10 #include "chrome/browser/in_process_webkit/dom_storage_message_filter.h"
11 #include "third_party/WebKit/WebKit/chromium/public/WebStorageArea.h" 11 #include "third_party/WebKit/WebKit/chromium/public/WebStorageArea.h"
12 #include "third_party/WebKit/WebKit/chromium/public/WebStorageNamespace.h" 12 #include "third_party/WebKit/WebKit/chromium/public/WebStorageNamespace.h"
13 #include "webkit/glue/webkit_glue.h" 13 #include "webkit/glue/webkit_glue.h"
14 14
15 using WebKit::WebStorageArea; 15 using WebKit::WebStorageArea;
16 using WebKit::WebStorageNamespace; 16 using WebKit::WebStorageNamespace;
17 using WebKit::WebString; 17 using WebKit::WebString;
18 18
19 /* static */ 19 /* static */
20 DOMStorageNamespace* DOMStorageNamespace::CreateLocalStorageNamespace( 20 DOMStorageNamespace* DOMStorageNamespace::CreateLocalStorageNamespace(
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 103
104 if (dom_storage_type_ == DOM_STORAGE_LOCAL) { 104 if (dom_storage_type_ == DOM_STORAGE_LOCAL) {
105 storage_namespace_.reset( 105 storage_namespace_.reset(
106 WebStorageNamespace::createLocalStorageNamespace(data_dir_path_, 106 WebStorageNamespace::createLocalStorageNamespace(data_dir_path_,
107 WebStorageNamespace::m_localStorageQuota)); 107 WebStorageNamespace::m_localStorageQuota));
108 } else { 108 } else {
109 storage_namespace_.reset(WebStorageNamespace::createSessionStorageNamespace( 109 storage_namespace_.reset(WebStorageNamespace::createSessionStorageNamespace(
110 WebStorageNamespace::m_sessionStorageQuota)); 110 WebStorageNamespace::m_sessionStorageQuota));
111 } 111 }
112 } 112 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698