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

Side by Side Diff: content/public/test/test_file_system_backend.cc

Issue 206253002: Revert of Add mechanism to auto mount file systems in response to a URL request. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #include "content/public/test/test_file_system_backend.h" 5 #include "content/public/test/test_file_system_backend.h"
6 6
7 #include <set> 7 #include <set>
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 return &update_observers_; 130 return &update_observers_;
131 } 131 }
132 132
133 virtual const fileapi::ChangeObserverList* GetChangeObservers( 133 virtual const fileapi::ChangeObserverList* GetChangeObservers(
134 FileSystemType type) const OVERRIDE { 134 FileSystemType type) const OVERRIDE {
135 return &change_observers_; 135 return &change_observers_;
136 } 136 }
137 137
138 virtual const fileapi::AccessObserverList* GetAccessObservers( 138 virtual const fileapi::AccessObserverList* GetAccessObservers(
139 FileSystemType type) const OVERRIDE { 139 FileSystemType type) const OVERRIDE {
140 NOTIMPLEMENTED();
140 return NULL; 141 return NULL;
141 } 142 }
142 143
143 // FileUpdateObserver overrides. 144 // FileUpdateObserver overrides.
144 virtual void OnStartUpdate(const FileSystemURL& url) OVERRIDE {} 145 virtual void OnStartUpdate(const FileSystemURL& url) OVERRIDE {}
145 virtual void OnUpdate(const FileSystemURL& url, int64 delta) OVERRIDE { 146 virtual void OnUpdate(const FileSystemURL& url, int64 delta) OVERRIDE {
146 usage_ += delta; 147 usage_ += delta;
147 } 148 }
148 virtual void OnEndUpdate(const FileSystemURL& url) OVERRIDE {} 149 virtual void OnEndUpdate(const FileSystemURL& url) OVERRIDE {}
149 150
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
257 return quota_util_->GetUpdateObservers(type); 258 return quota_util_->GetUpdateObservers(type);
258 } 259 }
259 260
260 void TestFileSystemBackend::AddFileChangeObserver( 261 void TestFileSystemBackend::AddFileChangeObserver(
261 fileapi::FileChangeObserver* observer) { 262 fileapi::FileChangeObserver* observer) {
262 quota_util_->AddFileChangeObserver( 263 quota_util_->AddFileChangeObserver(
263 fileapi::kFileSystemTypeTest, observer, quota_util_->task_runner()); 264 fileapi::kFileSystemTypeTest, observer, quota_util_->task_runner());
264 } 265 }
265 266
266 } // namespace content 267 } // namespace content
OLDNEW
« no previous file with comments | « content/public/browser/content_browser_client.h ('k') | content/public/test/test_file_system_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698