| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |