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

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

Issue 631773003: Replacing the OVERRIDE with override and FINAL with final in content/browser/appcache (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
« no previous file with comments | « no previous file | content/browser/appcache/appcache_disk_cache.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 (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 #ifndef CONTENT_BROWSER_APPCACHE_APPCACHE_DISK_CACHE_H_ 5 #ifndef CONTENT_BROWSER_APPCACHE_APPCACHE_DISK_CACHE_H_
6 #define CONTENT_BROWSER_APPCACHE_APPCACHE_DISK_CACHE_H_ 6 #define CONTENT_BROWSER_APPCACHE_APPCACHE_DISK_CACHE_H_
7 7
8 #include <set> 8 #include <set>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 27 matching lines...) Expand all
38 38
39 // Initializes the object to use memory only storage. 39 // Initializes the object to use memory only storage.
40 // This is used for Chrome's incognito browsing. 40 // This is used for Chrome's incognito browsing.
41 int InitWithMemBackend(int disk_cache_size, 41 int InitWithMemBackend(int disk_cache_size,
42 const net::CompletionCallback& callback); 42 const net::CompletionCallback& callback);
43 43
44 void Disable(); 44 void Disable();
45 bool is_disabled() const { return is_disabled_; } 45 bool is_disabled() const { return is_disabled_; }
46 46
47 virtual int CreateEntry(int64 key, Entry** entry, 47 virtual int CreateEntry(int64 key, Entry** entry,
48 const net::CompletionCallback& callback) OVERRIDE; 48 const net::CompletionCallback& callback) override;
49 virtual int OpenEntry(int64 key, Entry** entry, 49 virtual int OpenEntry(int64 key, Entry** entry,
50 const net::CompletionCallback& callback) OVERRIDE; 50 const net::CompletionCallback& callback) override;
51 virtual int DoomEntry(int64 key, 51 virtual int DoomEntry(int64 key,
52 const net::CompletionCallback& callback) OVERRIDE; 52 const net::CompletionCallback& callback) override;
53 53
54 private: 54 private:
55 class CreateBackendCallbackShim; 55 class CreateBackendCallbackShim;
56 class EntryImpl; 56 class EntryImpl;
57 57
58 // PendingCalls allow CreateEntry, OpenEntry, and DoomEntry to be called 58 // PendingCalls allow CreateEntry, OpenEntry, and DoomEntry to be called
59 // immediately after construction, without waiting for the 59 // immediately after construction, without waiting for the
60 // underlying disk_cache::Backend to be fully constructed. Early 60 // underlying disk_cache::Backend to be fully constructed. Early
61 // calls are queued up and serviced once the disk_cache::Backend is 61 // calls are queued up and serviced once the disk_cache::Backend is
62 // really ready to go. 62 // really ready to go.
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 scoped_refptr<CreateBackendCallbackShim> create_backend_callback_; 105 scoped_refptr<CreateBackendCallbackShim> create_backend_callback_;
106 PendingCalls pending_calls_; 106 PendingCalls pending_calls_;
107 ActiveCalls active_calls_; 107 ActiveCalls active_calls_;
108 OpenEntries open_entries_; 108 OpenEntries open_entries_;
109 scoped_ptr<disk_cache::Backend> disk_cache_; 109 scoped_ptr<disk_cache::Backend> disk_cache_;
110 }; 110 };
111 111
112 } // namespace content 112 } // namespace content
113 113
114 #endif // CONTENT_BROWSER_APPCACHE_APPCACHE_DISK_CACHE_H_ 114 #endif // CONTENT_BROWSER_APPCACHE_APPCACHE_DISK_CACHE_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/appcache/appcache_disk_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698