Fix compilation error caused by #2340

This commit is contained in:
Cheng Zhao 2015-07-30 10:38:04 +08:00
parent 2d5c0ac9ee
commit 0e779e20c3
2 changed files with 9 additions and 4 deletions

View file

@ -17,6 +17,10 @@ namespace mate {
class Arguments;
}
namespace base {
class FilePath;
}
namespace atom {
class AtomBrowserContext;
@ -46,7 +50,7 @@ class Session: public mate::TrackableObject<Session> {
void ClearCache(const net::CompletionCallback& callback);
void ClearStorageData(mate::Arguments* args);
void SetProxy(const std::string& proxy, const base::Closure& callback);
void SetDownloadPath(const std::string& path);
void SetDownloadPath(const base::FilePath& path);
v8::Local<v8::Value> Cookies(v8::Isolate* isolate);
v8::Global<v8::Value> cookies_;