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

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

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 #ifndef WEBKIT_BROWSER_FILEAPI_MOCK_FILE_CHANGE_OBSERVER_H_ 5 #ifndef WEBKIT_BROWSER_FILEAPI_MOCK_FILE_CHANGE_OBSERVER_H_
6 #define WEBKIT_BROWSER_FILEAPI_MOCK_FILE_CHANGE_OBSERVER_H_ 6 #define WEBKIT_BROWSER_FILEAPI_MOCK_FILE_CHANGE_OBSERVER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "webkit/browser/fileapi/file_observers.h" 10 #include "storage/browser/fileapi/file_observers.h"
11 #include "webkit/browser/fileapi/file_system_url.h" 11 #include "storage/browser/fileapi/file_system_url.h"
12 #include "webkit/browser/fileapi/task_runner_bound_observer_list.h" 12 #include "storage/browser/fileapi/task_runner_bound_observer_list.h"
13 13
14 namespace fileapi { 14 namespace storage {
15 15
16 // Mock file change observer. 16 // Mock file change observer.
17 class MockFileChangeObserver : public FileChangeObserver { 17 class MockFileChangeObserver : public FileChangeObserver {
18 public: 18 public:
19 MockFileChangeObserver(); 19 MockFileChangeObserver();
20 virtual ~MockFileChangeObserver(); 20 virtual ~MockFileChangeObserver();
21 21
22 // Creates a ChangeObserverList which only contains given |observer|. 22 // Creates a ChangeObserverList which only contains given |observer|.
23 static ChangeObserverList CreateList(MockFileChangeObserver* observer); 23 static ChangeObserverList CreateList(MockFileChangeObserver* observer);
24 24
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 int create_file_count_; 91 int create_file_count_;
92 int create_file_from_count_; 92 int create_file_from_count_;
93 int remove_file_count_; 93 int remove_file_count_;
94 int modify_file_count_; 94 int modify_file_count_;
95 int create_directory_count_; 95 int create_directory_count_;
96 int remove_directory_count_; 96 int remove_directory_count_;
97 97
98 DISALLOW_COPY_AND_ASSIGN(MockFileChangeObserver); 98 DISALLOW_COPY_AND_ASSIGN(MockFileChangeObserver);
99 }; 99 };
100 100
101 } // namespace fileapi 101 } // namespace storage
102 102
103 #endif // WEBKIT_BROWSER_FILEAPI_MOCK_FILE_CHANGE_OBSERVER_H_ 103 #endif // WEBKIT_BROWSER_FILEAPI_MOCK_FILE_CHANGE_OBSERVER_H_
OLDNEW
« no previous file with comments | « content/browser/fileapi/local_file_util_unittest.cc ('k') | content/browser/fileapi/mock_file_change_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698