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

Side by Side Diff: content/browser/in_process_webkit/dom_storage_area.cc

Issue 8788003: Update includes to new header locations (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/in_process_webkit/dom_storage_area.h" 5 #include "content/browser/in_process_webkit/dom_storage_area.h"
6 6
7 #include "base/task.h" 7 #include "base/task.h"
8 #include "content/browser/in_process_webkit/dom_storage_context.h" 8 #include "content/browser/in_process_webkit/dom_storage_context.h"
9 #include "content/browser/in_process_webkit/dom_storage_namespace.h" 9 #include "content/browser/in_process_webkit/dom_storage_namespace.h"
10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSecurityOrigin.h" 10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSecurityOrigin.h"
11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebStorageArea.h" 11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebStorageArea.h"
12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebString.h" 12 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h"
13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebURL.h" 13 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebURL.h"
14 #include "webkit/glue/webkit_glue.h" 14 #include "webkit/glue/webkit_glue.h"
15 15
16 using WebKit::WebSecurityOrigin; 16 using WebKit::WebSecurityOrigin;
17 using WebKit::WebStorageArea; 17 using WebKit::WebStorageArea;
18 using WebKit::WebString; 18 using WebKit::WebString;
19 using WebKit::WebURL; 19 using WebKit::WebURL;
20 20
21 DOMStorageArea::DOMStorageArea( 21 DOMStorageArea::DOMStorageArea(
22 const string16& origin, 22 const string16& origin,
23 int64 id, 23 int64 id,
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 } 71 }
72 72
73 void DOMStorageArea::PurgeMemory() { 73 void DOMStorageArea::PurgeMemory() {
74 storage_area_.reset(); 74 storage_area_.reset();
75 } 75 }
76 76
77 void DOMStorageArea::CreateWebStorageAreaIfNecessary() { 77 void DOMStorageArea::CreateWebStorageAreaIfNecessary() {
78 if (!storage_area_.get()) 78 if (!storage_area_.get())
79 storage_area_.reset(owner_->CreateWebStorageArea(origin_)); 79 storage_area_.reset(owner_->CreateWebStorageArea(origin_));
80 } 80 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698