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

Side by Side Diff: webkit/tools/test_shell/simple_dom_storage_system.cc

Issue 12286020: Replace FilePath with base::FilePath. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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
« no previous file with comments | « webkit/plugins/npapi/plugin_lib_unittest.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "webkit/tools/test_shell/simple_dom_storage_system.h" 5 #include "webkit/tools/test_shell/simple_dom_storage_system.h"
6 6
7 #include "base/auto_reset.h" 7 #include "base/auto_reset.h"
8 #include "googleurl/src/gurl.h" 8 #include "googleurl/src/gurl.h"
9 #include "third_party/WebKit/Source/Platform/chromium/public/WebStorageArea.h" 9 #include "third_party/WebKit/Source/Platform/chromium/public/WebStorageArea.h"
10 #include "third_party/WebKit/Source/Platform/chromium/public/WebURL.h" 10 #include "third_party/WebKit/Source/Platform/chromium/public/WebURL.h"
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 base::AutoReset<AreaImpl*> auto_reset(&parent_->area_being_processed_, this); 187 base::AutoReset<AreaImpl*> auto_reset(&parent_->area_being_processed_, this);
188 Host()->ClearArea(connection_id_, pageUrl); 188 Host()->ClearArea(connection_id_, pageUrl);
189 } 189 }
190 190
191 // SimpleDomStorageSystem ----------------------------- 191 // SimpleDomStorageSystem -----------------------------
192 192
193 SimpleDomStorageSystem* SimpleDomStorageSystem::g_instance_; 193 SimpleDomStorageSystem* SimpleDomStorageSystem::g_instance_;
194 194
195 SimpleDomStorageSystem::SimpleDomStorageSystem() 195 SimpleDomStorageSystem::SimpleDomStorageSystem()
196 : weak_factory_(this), 196 : weak_factory_(this),
197 context_(new DomStorageContext(FilePath(), FilePath(), NULL, NULL)), 197 context_(new DomStorageContext(base::FilePath(), base::FilePath(),
198 NULL, NULL)),
198 host_(new DomStorageHost(context_)), 199 host_(new DomStorageHost(context_)),
199 area_being_processed_(NULL), 200 area_being_processed_(NULL),
200 next_connection_id_(1) { 201 next_connection_id_(1) {
201 DCHECK(!g_instance_); 202 DCHECK(!g_instance_);
202 g_instance_ = this; 203 g_instance_ = this;
203 context_->AddEventObserver(this); 204 context_->AddEventObserver(this);
204 } 205 }
205 206
206 SimpleDomStorageSystem::~SimpleDomStorageSystem() { 207 SimpleDomStorageSystem::~SimpleDomStorageSystem() {
207 g_instance_ = NULL; 208 g_instance_ = NULL;
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 key, 275 key,
275 old_value, 276 old_value,
276 new_value, 277 new_value,
277 area->origin(), 278 area->origin(),
278 page_url, 279 page_url,
279 session_namespace_for_event_dispatch, 280 session_namespace_for_event_dispatch,
280 area_being_processed_, 281 area_being_processed_,
281 true /* originatedInProcess */); 282 true /* originatedInProcess */);
282 } 283 }
283 } 284 }
OLDNEW
« no previous file with comments | « webkit/plugins/npapi/plugin_lib_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698