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

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

Issue 548373002: Rename AppCache's Manifest to AppCacheManifest. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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.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_H_ 5 #ifndef CONTENT_BROWSER_APPCACHE_APPCACHE_H_
6 #define CONTENT_BROWSER_APPCACHE_APPCACHE_H_ 6 #define CONTENT_BROWSER_APPCACHE_APPCACHE_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <vector> 10 #include <vector>
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 } 104 }
105 105
106 base::Time update_time() const { return update_time_; } 106 base::Time update_time() const { return update_time_; }
107 107
108 int64 cache_size() const { return cache_size_; } 108 int64 cache_size() const { return cache_size_; }
109 109
110 void set_update_time(base::Time ticks) { update_time_ = ticks; } 110 void set_update_time(base::Time ticks) { update_time_ = ticks; }
111 111
112 // Initializes the cache with information in the manifest. 112 // Initializes the cache with information in the manifest.
113 // Do not use the manifest after this call. 113 // Do not use the manifest after this call.
114 void InitializeWithManifest(Manifest* manifest); 114 void InitializeWithManifest(AppCacheManifest* manifest);
115 115
116 // Initializes the cache with the information in the database records. 116 // Initializes the cache with the information in the database records.
117 void InitializeWithDatabaseRecords( 117 void InitializeWithDatabaseRecords(
118 const AppCacheDatabase::CacheRecord& cache_record, 118 const AppCacheDatabase::CacheRecord& cache_record,
119 const std::vector<AppCacheDatabase::EntryRecord>& entries, 119 const std::vector<AppCacheDatabase::EntryRecord>& entries,
120 const std::vector<AppCacheDatabase::NamespaceRecord>& intercepts, 120 const std::vector<AppCacheDatabase::NamespaceRecord>& intercepts,
121 const std::vector<AppCacheDatabase::NamespaceRecord>& fallbacks, 121 const std::vector<AppCacheDatabase::NamespaceRecord>& fallbacks,
122 const std::vector<AppCacheDatabase::OnlineWhiteListRecord>& whitelists); 122 const std::vector<AppCacheDatabase::OnlineWhiteListRecord>& whitelists);
123 123
124 // Returns the database records to be stored in the AppCacheDatabase 124 // Returns the database records to be stored in the AppCacheDatabase
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 AppCacheStorage* storage_; 201 AppCacheStorage* storage_;
202 202
203 FRIEND_TEST_ALL_PREFIXES(content::AppCacheTest, InitializeWithManifest); 203 FRIEND_TEST_ALL_PREFIXES(content::AppCacheTest, InitializeWithManifest);
204 FRIEND_TEST_ALL_PREFIXES(content::AppCacheTest, ToFromDatabaseRecords); 204 FRIEND_TEST_ALL_PREFIXES(content::AppCacheTest, ToFromDatabaseRecords);
205 DISALLOW_COPY_AND_ASSIGN(AppCache); 205 DISALLOW_COPY_AND_ASSIGN(AppCache);
206 }; 206 };
207 207
208 } // namespace content 208 } // namespace content
209 209
210 #endif // CONTENT_BROWSER_APPCACHE_APPCACHE_H_ 210 #endif // CONTENT_BROWSER_APPCACHE_APPCACHE_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/appcache/appcache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698