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

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

Issue 15994002: Move more browser-specific webkit/fileapi code to webkit/browser/fileapi (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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 (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 #include "webkit/fileapi/mock_file_change_observer.h" 5 #include "webkit/browser/fileapi/mock_file_change_observer.h"
6 6
7 namespace fileapi { 7 namespace fileapi {
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) {}
(...skipping 27 matching lines...) Expand all
43 43
44 void MockFileChangeObserver::OnCreateDirectory(const FileSystemURL& url) { 44 void MockFileChangeObserver::OnCreateDirectory(const FileSystemURL& url) {
45 create_directory_count_++; 45 create_directory_count_++;
46 } 46 }
47 47
48 void MockFileChangeObserver::OnRemoveDirectory(const FileSystemURL& url) { 48 void MockFileChangeObserver::OnRemoveDirectory(const FileSystemURL& url) {
49 remove_directory_count_++; 49 remove_directory_count_++;
50 } 50 }
51 51
52 } // namespace fileapi 52 } // namespace fileapi
OLDNEW
« no previous file with comments | « webkit/browser/fileapi/mock_file_change_observer.h ('k') | webkit/browser/fileapi/mock_file_system_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698