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

Issue 1132683003: CacheStorage: Merge CacheStorage::CacheStorageError and CacheStorageCache::ErrorType (Closed)

Created:
5 years, 7 months ago by nhiroki
Modified:
5 years, 7 months ago
Reviewers:
jkarlin
CC:
chromium-reviews, darin-cc_chromium.org, jam, jkarlin+watch_chromium.org, serviceworker-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

CacheStorage: Merge CacheStorage::CacheStorageError and CacheStorageCache::ErrorType Both error codes have similar values and it's not necessary to separate them. BUG=425505 TEST=content_unittests --gtest_filter=CacheStorage* TEST=run-webkit-tests http/tests/cachestorage/ Committed: https://crrev.com/77d218aa592546b8845cf75b4506999826444ee3 Cr-Commit-Position: refs/heads/master@{#328959}

Patch Set 1 : #

Total comments: 9

Patch Set 2 : fix more #

Unified diffs Side-by-side diffs Delta from patch set Stats (+155 lines, -192 lines) Patch
M content/browser/cache_storage/cache_storage.h View 5 chunks +4 lines, -12 lines 0 comments Download
M content/browser/cache_storage/cache_storage.cc View 9 chunks +12 lines, -12 lines 0 comments Download
M content/browser/cache_storage/cache_storage_cache.h View 1 5 chunks +18 lines, -26 lines 0 comments Download
M content/browser/cache_storage/cache_storage_cache.cc View 30 chunks +44 lines, -44 lines 0 comments Download
M content/browser/cache_storage/cache_storage_cache_unittest.cc View 11 chunks +12 lines, -15 lines 0 comments Download
M content/browser/cache_storage/cache_storage_dispatcher_host.h View 3 chunks +8 lines, -8 lines 0 comments Download
M content/browser/cache_storage/cache_storage_dispatcher_host.cc View 1 9 chunks +27 lines, -54 lines 0 comments Download
M content/browser/cache_storage/cache_storage_manager_unittest.cc View 14 chunks +20 lines, -21 lines 0 comments Download
M content/common/cache_storage/cache_storage_types.h View 1 chunk +10 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (6 generated)
nhiroki
Hi jkarlin@, can you review this? I'd like to clean up these error codes so ...
5 years, 7 months ago (2015-05-08 07:31:39 UTC) #5
nhiroki
https://codereview.chromium.org/1132683003/diff/60001/content/browser/cache_storage/cache_storage.cc File content/browser/cache_storage/cache_storage.cc (left): https://codereview.chromium.org/1132683003/diff/60001/content/browser/cache_storage/cache_storage.cc#oldcode580 content/browser/cache_storage/cache_storage.cc:580: CACHE_STORAGE_ERROR_CLOSING); Are we able to replace "CLOSING" with "STORAGE"? ...
5 years, 7 months ago (2015-05-08 07:33:03 UTC) #6
jkarlin
Yay, happy to see this. lgtm with nits. https://codereview.chromium.org/1132683003/diff/60001/content/browser/cache_storage/cache_storage.cc File content/browser/cache_storage/cache_storage.cc (left): https://codereview.chromium.org/1132683003/diff/60001/content/browser/cache_storage/cache_storage.cc#oldcode580 content/browser/cache_storage/cache_storage.cc:580: CACHE_STORAGE_ERROR_CLOSING); ...
5 years, 7 months ago (2015-05-08 12:38:19 UTC) #7
nhiroki
Thank you for reviewing! https://codereview.chromium.org/1132683003/diff/60001/content/browser/cache_storage/cache_storage.cc File content/browser/cache_storage/cache_storage.cc (left): https://codereview.chromium.org/1132683003/diff/60001/content/browser/cache_storage/cache_storage.cc#oldcode580 content/browser/cache_storage/cache_storage.cc:580: CACHE_STORAGE_ERROR_CLOSING); On 2015/05/08 12:38:19, jkarlin ...
5 years, 7 months ago (2015-05-08 14:14:49 UTC) #8
nhiroki
https://codereview.chromium.org/1132683003/diff/60001/content/browser/cache_storage/cache_storage_dispatcher_host.cc File content/browser/cache_storage/cache_storage_dispatcher_host.cc (right): https://codereview.chromium.org/1132683003/diff/60001/content/browser/cache_storage/cache_storage_dispatcher_host.cc#newcode35 content/browser/cache_storage/cache_storage_dispatcher_host.cc:35: return blink::WebServiceWorkerCacheErrorNotFound; On 2015/05/08 12:38:19, jkarlin wrote: > Add ...
5 years, 7 months ago (2015-05-08 14:15:10 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1132683003/80001
5 years, 7 months ago (2015-05-08 14:15:31 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:80001)
5 years, 7 months ago (2015-05-08 15:29:07 UTC) #13
commit-bot: I haz the power
5 years, 7 months ago (2015-05-08 15:30:51 UTC) #14
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/77d218aa592546b8845cf75b4506999826444ee3
Cr-Commit-Position: refs/heads/master@{#328959}

Powered by Google App Engine
This is Rietveld 408576698