| 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 #ifndef CHROME_BROWSER_DEVTOOLS_DEVTOOLS_FILE_HELPER_H_ | 5 #ifndef CHROME_BROWSER_DEVTOOLS_DEVTOOLS_FILE_HELPER_H_ |
| 6 #define CHROME_BROWSER_DEVTOOLS_DEVTOOLS_FILE_HELPER_H_ | 6 #define CHROME_BROWSER_DEVTOOLS_DEVTOOLS_FILE_HELPER_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| 11 #include <vector> | 11 #include <vector> |
| 12 | 12 |
| 13 #include "base/callback.h" | 13 #include "base/callback.h" |
| 14 #include "base/macros.h" | 14 #include "base/macros.h" |
| 15 #include "base/memory/ref_counted.h" | 15 #include "base/memory/ref_counted.h" |
| 16 #include "base/memory/scoped_ptr.h" |
| 16 #include "base/memory/weak_ptr.h" | 17 #include "base/memory/weak_ptr.h" |
| 17 #include "base/strings/string16.h" | 18 #include "base/strings/string16.h" |
| 18 #include "components/prefs/pref_change_registrar.h" | 19 #include "components/prefs/pref_change_registrar.h" |
| 19 | 20 |
| 20 class DevToolsFileWatcher; | 21 class DevToolsFileWatcher; |
| 21 class Profile; | 22 class Profile; |
| 22 | 23 |
| 23 namespace base { | 24 namespace base { |
| 24 class FilePath; | 25 class FilePath; |
| 25 } | 26 } |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 139 typedef std::map<std::string, base::FilePath> PathsMap; | 140 typedef std::map<std::string, base::FilePath> PathsMap; |
| 140 PathsMap saved_files_; | 141 PathsMap saved_files_; |
| 141 PrefChangeRegistrar pref_change_registrar_; | 142 PrefChangeRegistrar pref_change_registrar_; |
| 142 std::set<std::string> file_system_paths_; | 143 std::set<std::string> file_system_paths_; |
| 143 scoped_ptr<DevToolsFileWatcher> file_watcher_; | 144 scoped_ptr<DevToolsFileWatcher> file_watcher_; |
| 144 base::WeakPtrFactory<DevToolsFileHelper> weak_factory_; | 145 base::WeakPtrFactory<DevToolsFileHelper> weak_factory_; |
| 145 DISALLOW_COPY_AND_ASSIGN(DevToolsFileHelper); | 146 DISALLOW_COPY_AND_ASSIGN(DevToolsFileHelper); |
| 146 }; | 147 }; |
| 147 | 148 |
| 148 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_FILE_HELPER_H_ | 149 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_FILE_HELPER_H_ |
| OLD | NEW |