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

Side by Side Diff: content/browser/appcache/mock_appcache_service.h

Issue 442383002: Move storage-related files from webkit/ to new top-level directory storage/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 4 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 | « content/browser/appcache/chrome_appcache_service.cc ('k') | content/browser/browser_context.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #ifndef CONTENT_BROWSER_APPCACHE_MOCK_APPCACHE_SERVICE_H_ 5 #ifndef CONTENT_BROWSER_APPCACHE_MOCK_APPCACHE_SERVICE_H_
6 #define CONTENT_BROWSER_APPCACHE_MOCK_APPCACHE_SERVICE_H_ 6 #define CONTENT_BROWSER_APPCACHE_MOCK_APPCACHE_SERVICE_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "content/browser/appcache/appcache_service_impl.h" 9 #include "content/browser/appcache/appcache_service_impl.h"
10 #include "content/browser/appcache/mock_appcache_storage.h" 10 #include "content/browser/appcache/mock_appcache_storage.h"
11 #include "webkit/browser/quota/quota_manager.h" 11 #include "storage/browser/quota/quota_manager.h"
12 12
13 namespace content { 13 namespace content {
14 14
15 // For use by unit tests. 15 // For use by unit tests.
16 class MockAppCacheService : public AppCacheServiceImpl { 16 class MockAppCacheService : public AppCacheServiceImpl {
17 public: 17 public:
18 MockAppCacheService() 18 MockAppCacheService()
19 : AppCacheServiceImpl(NULL), 19 : AppCacheServiceImpl(NULL),
20 mock_delete_appcaches_for_origin_result_(net::OK), 20 mock_delete_appcaches_for_origin_result_(net::OK),
21 delete_called_count_(0) { 21 delete_called_count_(0) {
(...skipping 17 matching lines...) Expand all
39 int delete_called_count() const { return delete_called_count_; } 39 int delete_called_count() const { return delete_called_count_; }
40 40
41 private: 41 private:
42 int mock_delete_appcaches_for_origin_result_; 42 int mock_delete_appcaches_for_origin_result_;
43 int delete_called_count_; 43 int delete_called_count_;
44 }; 44 };
45 45
46 } // namespace content 46 } // namespace content
47 47
48 #endif // CONTENT_BROWSER_APPCACHE_MOCK_APPCACHE_SERVICE_H_ 48 #endif // CONTENT_BROWSER_APPCACHE_MOCK_APPCACHE_SERVICE_H_
OLDNEW
« no previous file with comments | « content/browser/appcache/chrome_appcache_service.cc ('k') | content/browser/browser_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698