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

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

Issue 642343004: [ew] Simplify the entry watcher logic. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: NULL -> nullptr Created 6 years, 2 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
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | content/public/test/test_file_system_backend.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef CONTENT_PUBLIC_TEST_TEST_FILE_SYSTEM_BACKEND_H_ 5 #ifndef CONTENT_PUBLIC_TEST_TEST_FILE_SYSTEM_BACKEND_H_
6 #define CONTENT_PUBLIC_TEST_TEST_FILE_SYSTEM_BACKEND_H_ 6 #define CONTENT_PUBLIC_TEST_TEST_FILE_SYSTEM_BACKEND_H_
7 7
8 #include "base/files/file_path.h" 8 #include "base/files/file_path.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 void set_require_copy_or_move_validator(bool flag) { 84 void set_require_copy_or_move_validator(bool flag) {
85 require_copy_or_move_validator_ = flag; 85 require_copy_or_move_validator_ = flag;
86 } 86 }
87 87
88 private: 88 private:
89 class QuotaUtil; 89 class QuotaUtil;
90 90
91 base::FilePath base_path_; 91 base::FilePath base_path_;
92 scoped_refptr<base::SequencedTaskRunner> task_runner_; 92 scoped_refptr<base::SequencedTaskRunner> task_runner_;
93 scoped_ptr<storage::AsyncFileUtilAdapter> file_util_; 93 scoped_ptr<storage::AsyncFileUtilAdapter> file_util_;
94 scoped_ptr<storage::WatcherManager> watcher_manager_;
95 scoped_ptr<QuotaUtil> quota_util_; 94 scoped_ptr<QuotaUtil> quota_util_;
96 storage::UpdateObserverList update_observers_; 95 storage::UpdateObserverList update_observers_;
97 storage::ChangeObserverList change_observers_; 96 storage::ChangeObserverList change_observers_;
98 97
99 bool require_copy_or_move_validator_; 98 bool require_copy_or_move_validator_;
100 scoped_ptr<storage::CopyOrMoveFileValidatorFactory> 99 scoped_ptr<storage::CopyOrMoveFileValidatorFactory>
101 copy_or_move_file_validator_factory_; 100 copy_or_move_file_validator_factory_;
102 101
103 DISALLOW_COPY_AND_ASSIGN(TestFileSystemBackend); 102 DISALLOW_COPY_AND_ASSIGN(TestFileSystemBackend);
104 }; 103 };
105 104
106 } // namespace content 105 } // namespace content
107 106
108 #endif // CONTENT_PUBLIC_TEST_TEST_FILE_SYSTEM_BACKEND_H_ 107 #endif // CONTENT_PUBLIC_TEST_TEST_FILE_SYSTEM_BACKEND_H_
OLDNEW
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | content/public/test/test_file_system_backend.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698