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

Side by Side Diff: content/browser/fileapi/mock_file_change_observer.cc

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
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 #include "content/browser/fileapi/mock_file_change_observer.h" 5 #include "content/browser/fileapi/mock_file_change_observer.h"
6 6
7 namespace fileapi { 7 namespace storage {
8 8
9 MockFileChangeObserver::MockFileChangeObserver() 9 MockFileChangeObserver::MockFileChangeObserver()
10 : create_file_count_(0), 10 : create_file_count_(0),
11 create_file_from_count_(0), 11 create_file_from_count_(0),
12 remove_file_count_(0), 12 remove_file_count_(0),
13 modify_file_count_(0), 13 modify_file_count_(0),
14 create_directory_count_(0), 14 create_directory_count_(0),
15 remove_directory_count_(0) {} 15 remove_directory_count_(0) {}
16 16
17 MockFileChangeObserver::~MockFileChangeObserver() {} 17 MockFileChangeObserver::~MockFileChangeObserver() {}
(...skipping 23 matching lines...) Expand all
41 } 41 }
42 42
43 void MockFileChangeObserver::OnCreateDirectory(const FileSystemURL& url) { 43 void MockFileChangeObserver::OnCreateDirectory(const FileSystemURL& url) {
44 create_directory_count_++; 44 create_directory_count_++;
45 } 45 }
46 46
47 void MockFileChangeObserver::OnRemoveDirectory(const FileSystemURL& url) { 47 void MockFileChangeObserver::OnRemoveDirectory(const FileSystemURL& url) {
48 remove_directory_count_++; 48 remove_directory_count_++;
49 } 49 }
50 50
51 } // namespace fileapi 51 } // namespace storage
OLDNEW
« no previous file with comments | « content/browser/fileapi/mock_file_change_observer.h ('k') | content/browser/fileapi/native_file_util_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698