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

Side by Side Diff: content/browser/service_worker/service_worker_fetch_store.cc

Issue 424863002: Fill in some of ServiceWorkerFetchStores. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cache_storage
Patch Set: Conform to updated spec 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
OLDNEW
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved. Use of this source
2 // code is governed by a BSD-style license that can be found in the LICENSE
3 // file.
4
5 #include "content/browser/service_worker/service_worker_fetch_store.h"
6
7 #include <string>
8
9 #include "base/files/file_path.h"
10
11 namespace content {
12
13 // static
14 ServiceWorkerFetchStore* ServiceWorkerFetchStore::CreateMemoryStore(
15 const std::string& name) {
16 return new ServiceWorkerFetchStore(base::FilePath(), name);
17 }
18
19 // static
20 ServiceWorkerFetchStore* ServiceWorkerFetchStore::CreatePersistentStore(
21 const base::FilePath& path,
22 const std::string& name) {
23 return new ServiceWorkerFetchStore(path, name);
24 }
25
26 ServiceWorkerFetchStore::ServiceWorkerFetchStore(const base::FilePath& path,
27 const std::string& name)
28 : path_(path), name_(name), id_(0) {
29 }
30
31 ServiceWorkerFetchStore::~ServiceWorkerFetchStore() {
32 }
33
34 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698