refactor: rename the atom namespace to electron
This commit is contained in:
parent
8c4496a9c9
commit
34c4c8d508
531 changed files with 1456 additions and 1428 deletions
|
@ -21,7 +21,7 @@ namespace content {
|
|||
class WebContents;
|
||||
}
|
||||
|
||||
namespace atom {
|
||||
namespace electron {
|
||||
|
||||
namespace api {
|
||||
|
||||
|
@ -30,7 +30,7 @@ class SavePageHandler : public content::DownloadManager::Observer,
|
|||
public download::DownloadItem::Observer {
|
||||
public:
|
||||
SavePageHandler(content::WebContents* web_contents,
|
||||
atom::util::Promise promise);
|
||||
electron::util::Promise promise);
|
||||
~SavePageHandler() override;
|
||||
|
||||
bool Handle(const base::FilePath& full_path,
|
||||
|
@ -47,11 +47,11 @@ class SavePageHandler : public content::DownloadManager::Observer,
|
|||
void OnDownloadUpdated(download::DownloadItem* item) override;
|
||||
|
||||
content::WebContents* web_contents_; // weak
|
||||
atom::util::Promise promise_;
|
||||
electron::util::Promise promise_;
|
||||
};
|
||||
|
||||
} // namespace api
|
||||
|
||||
} // namespace atom
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_API_SAVE_PAGE_HANDLER_H_
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue