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

Side by Side Diff: chrome/renderer/renderer_webstoragearea_impl.cc

Issue 387020: Upstreaming WebKit.gyp (Closed)
Patch Set: Created 11 years, 1 month 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) 2009 The Chromium Authors. All rights reserved. Use of this 1 // Copyright (c) 2009 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/renderer/renderer_webstoragearea_impl.h" 5 #include "chrome/renderer/renderer_webstoragearea_impl.h"
6 6
7 #include "chrome/common/render_messages.h" 7 #include "chrome/common/render_messages.h"
8 #include "chrome/renderer/render_thread.h" 8 #include "chrome/renderer/render_thread.h"
9 #include "webkit/api/public/WebURL.h" 9 #include "third_party/WebKit/WebKit/chromium/public/WebURL.h"
10 10
11 using WebKit::WebString; 11 using WebKit::WebString;
12 using WebKit::WebURL; 12 using WebKit::WebURL;
13 13
14 RendererWebStorageAreaImpl::RendererWebStorageAreaImpl( 14 RendererWebStorageAreaImpl::RendererWebStorageAreaImpl(
15 int64 namespace_id, const WebString& origin) { 15 int64 namespace_id, const WebString& origin) {
16 RenderThread::current()->Send( 16 RenderThread::current()->Send(
17 new ViewHostMsg_DOMStorageStorageAreaId(namespace_id, origin, 17 new ViewHostMsg_DOMStorageStorageAreaId(namespace_id, origin,
18 &storage_area_id_)); 18 &storage_area_id_));
19 } 19 }
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 void RendererWebStorageAreaImpl::removeItem(const WebString& key, 53 void RendererWebStorageAreaImpl::removeItem(const WebString& key,
54 const WebURL& url) { 54 const WebURL& url) {
55 RenderThread::current()->Send( 55 RenderThread::current()->Send(
56 new ViewHostMsg_DOMStorageRemoveItem(storage_area_id_, key, url)); 56 new ViewHostMsg_DOMStorageRemoveItem(storage_area_id_, key, url));
57 } 57 }
58 58
59 void RendererWebStorageAreaImpl::clear(const WebURL& url) { 59 void RendererWebStorageAreaImpl::clear(const WebURL& url) {
60 RenderThread::current()->Send( 60 RenderThread::current()->Send(
61 new ViewHostMsg_DOMStorageClear(storage_area_id_, url)); 61 new ViewHostMsg_DOMStorageClear(storage_area_id_, url));
62 } 62 }
OLDNEW
« no previous file with comments | « chrome/renderer/renderer_webstoragearea_impl.h ('k') | chrome/renderer/renderer_webstoragenamespace_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698