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

Issue 9695013: DOMStorageContextImpl that's implemented in terms of the new dom_storage classes. (Closed)

Created:
8 years, 9 months ago by michaeln
Modified:
8 years, 9 months ago
Reviewers:
jsbell
CC:
chromium-reviews, joi+watch-content_chromium.org, Aaron Boodman, jam, mihaip+watch_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

DOMStorageContextImpl that's implemented in terms of the new dom_storage classes. Also compile out existing tests that no longer apply when ENABLE_NEW_DOM_STORAGE_BACKEND is defined. BUG=106763 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=127573

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : #

Patch Set 9 : #

Patch Set 10 : #

Patch Set 11 : #

Total comments: 2

Patch Set 12 : #

Total comments: 1

Patch Set 13 : #

Patch Set 14 : #

Patch Set 15 : #

Patch Set 16 : #

Total comments: 1

Patch Set 17 : #

Total comments: 6

Patch Set 18 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+342 lines, -433 lines) Patch
M content/browser/browser_context.cc View 1 2 3 4 5 6 7 chunks +16 lines, -19 lines 0 comments Download
A + content/browser/dom_storage/dom_storage_context_impl_new.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +36 lines, -131 lines 0 comments Download
A + content/browser/dom_storage/dom_storage_context_impl_new.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +117 lines, -262 lines 0 comments Download
M content/browser/in_process_webkit/dom_storage_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 chunks +8 lines, -1 line 0 comments Download
M content/browser/in_process_webkit/dom_storage_context_impl.h View 1 2 3 4 5 6 1 chunk +2 lines, -6 lines 0 comments Download
M content/browser/in_process_webkit/dom_storage_context_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 4 chunks +30 lines, -1 line 0 comments Download
M content/browser/in_process_webkit/dom_storage_uitest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +7 lines, -0 lines 0 comments Download
M content/browser/in_process_webkit/dom_storage_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 chunks +8 lines, -1 line 0 comments Download
M content/browser/renderer_host/render_message_filter.cc View 1 2 3 4 5 6 1 chunk +12 lines, -0 lines 0 comments Download
M webkit/dom_storage/dom_storage_area.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +3 lines, -2 lines 0 comments Download
M webkit/dom_storage/dom_storage_area.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +14 lines, -7 lines 0 comments Download
M webkit/dom_storage/dom_storage_context.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 5 chunks +36 lines, -2 lines 0 comments Download
M webkit/dom_storage/dom_storage_context.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +53 lines, -1 line 0 comments Download

Messages

Total messages: 8 (0 generated)
michaeln
ptal
8 years, 9 months ago (2012-03-16 23:35:07 UTC) #1
michaeln
i have a couple of todo's to take care of in dom_storage_context_impl_new.cc and the empty ...
8 years, 9 months ago (2012-03-16 23:38:39 UTC) #2
michaeln
I've taken care of the todo's in dom_storage_context_impl_new.cc and think i should hold off on ...
8 years, 9 months ago (2012-03-17 00:53:54 UTC) #3
michaeln
http://codereview.chromium.org/9695013/diff/21007/content/browser/browser_context.cc File content/browser/browser_context.cc (right): http://codereview.chromium.org/9695013/diff/21007/content/browser/browser_context.cc#newcode193 content/browser/browser_context.cc:193: GetDOMStorageContextImpl(browser_context)->SaveSessionState(); the gist of these changes is to remove ...
8 years, 9 months ago (2012-03-17 03:52:22 UTC) #4
michaeln
https://chromiumcodereview.appspot.com/9695013/diff/17033/webkit/dom_storage/dom_storage_context.cc File webkit/dom_storage/dom_storage_context.cc (right): https://chromiumcodereview.appspot.com/9695013/diff/17033/webkit/dom_storage/dom_storage_context.cc#newcode60 webkit/dom_storage/dom_storage_context.cc:60: void DomStorageContext::GetUsageInfo(std::vector<UsageInfo>* infos) { i've added an implementation of ...
8 years, 9 months ago (2012-03-18 20:58:22 UTC) #5
michaeln
https://chromiumcodereview.appspot.com/9695013/diff/21014/webkit/dom_storage/dom_storage_area.cc File webkit/dom_storage/dom_storage_area.cc (right): https://chromiumcodereview.appspot.com/9695013/diff/21014/webkit/dom_storage/dom_storage_area.cc#newcode26 webkit/dom_storage/dom_storage_area.cc:26: return FilePath().AppendASCII(filename).ReplaceExtension( Fun with FilePaths... there is no method ...
8 years, 9 months ago (2012-03-19 00:36:28 UTC) #6
jsbell
lgtm https://chromiumcodereview.appspot.com/9695013/diff/17076/content/browser/dom_storage/dom_storage_context_impl_new.h File content/browser/dom_storage/dom_storage_context_impl_new.h (right): https://chromiumcodereview.appspot.com/9695013/diff/17076/content/browser/dom_storage/dom_storage_context_impl_new.h#newcode9 content/browser/dom_storage/dom_storage_context_impl_new.h:9: #include <vector> Is this include needed? https://chromiumcodereview.appspot.com/9695013/diff/17076/content/browser/dom_storage/dom_storage_context_impl_new.h#newcode60 content/browser/dom_storage/dom_storage_context_impl_new.h:60: ...
8 years, 9 months ago (2012-03-19 20:24:29 UTC) #7
michaeln
8 years, 9 months ago (2012-03-19 20:49:58 UTC) #8
thnx

https://chromiumcodereview.appspot.com/9695013/diff/17076/content/browser/dom...
File content/browser/dom_storage/dom_storage_context_impl_new.h (right):

https://chromiumcodereview.appspot.com/9695013/diff/17076/content/browser/dom...
content/browser/dom_storage/dom_storage_context_impl_new.h:9: #include <vector>
On 2012/03/19 20:24:29, jsbell wrote:
> Is this include needed?

Done, dont think it is

https://chromiumcodereview.appspot.com/9695013/diff/17076/content/browser/dom...
content/browser/dom_storage/dom_storage_context_impl_new.h:60: //
TODO(michaeln): Remove this method when that bug is fixed.
On 2012/03/19 20:24:29, jsbell wrote:
> Is there a crbug for this, or will you fix before landing?

there is no crbug for this afaik, i'll file a bug as i have no plans to fix that
before landing

https://chromiumcodereview.appspot.com/9695013/diff/17076/webkit/dom_storage/...
File webkit/dom_storage/dom_storage_area.cc (right):

https://chromiumcodereview.appspot.com/9695013/diff/17076/webkit/dom_storage/...
webkit/dom_storage/dom_storage_area.cc:27: InsertBeforeExtensionASCII(filename);
On 2012/03/19 20:24:29, jsbell wrote:
> As you note this is non-obvious; perhaps a comment: "filename looks like an
> extension, so cannot use FilePath::ReplaceExtension"
> 
> ... or just go ahead and add FilePath::AddExtension[ASCII]()

Added a comment since i don't care to change the base library now and lengthen
the reveiw cycle for this minor detail.

Powered by Google App Engine
This is Rietveld 408576698