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

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

Issue 9114020: Remove task.h and finish base::Bind() migration. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix typo Created 8 years, 11 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 | 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/logging.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/platform/WebString.h" 12 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h"
13 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/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;
(...skipping 53 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
« no previous file with comments | « content/browser/gpu/gpu_data_manager.h ('k') | content/browser/in_process_webkit/indexed_db_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698