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 <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
13 #include "base/callback.h" | 13 #include "base/callback.h" |
14 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
15 #include "base/memory/weak_ptr.h" | 15 #include "base/memory/weak_ptr.h" |
16 #include "base/string16.h" | 16 #include "base/strings/string16.h" |
17 | 17 |
18 class Profile; | 18 class Profile; |
19 | 19 |
20 namespace base { | 20 namespace base { |
21 class FilePath; | 21 class FilePath; |
22 } | 22 } |
23 | 23 |
24 namespace content { | 24 namespace content { |
25 class WebContents; | 25 class WebContents; |
26 } | 26 } |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 | 107 |
108 content::WebContents* web_contents_; | 108 content::WebContents* web_contents_; |
109 Profile* profile_; | 109 Profile* profile_; |
110 base::WeakPtrFactory<DevToolsFileHelper> weak_factory_; | 110 base::WeakPtrFactory<DevToolsFileHelper> weak_factory_; |
111 typedef std::map<std::string, base::FilePath> PathsMap; | 111 typedef std::map<std::string, base::FilePath> PathsMap; |
112 PathsMap saved_files_; | 112 PathsMap saved_files_; |
113 DISALLOW_COPY_AND_ASSIGN(DevToolsFileHelper); | 113 DISALLOW_COPY_AND_ASSIGN(DevToolsFileHelper); |
114 }; | 114 }; |
115 | 115 |
116 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_FILE_HELPER_H_ | 116 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_FILE_HELPER_H_ |
OLD | NEW |