refactor: rename the atom namespace to electron

This commit is contained in:
Samuel Attard 2019-06-19 14:23:04 -07:00 committed by Samuel Attard
parent 8c4496a9c9
commit 34c4c8d508
531 changed files with 1456 additions and 1428 deletions

View file

@ -57,7 +57,7 @@
using content::BrowserThread;
namespace atom {
namespace electron {
namespace {
@ -144,7 +144,7 @@ void AppendToFile(const base::FilePath& path, const std::string& content) {
PrefService* GetPrefService(content::WebContents* web_contents) {
auto* context = web_contents->GetBrowserContext();
return static_cast<atom::AtomBrowserContext*>(context)->prefs();
return static_cast<electron::AtomBrowserContext*>(context)->prefs();
}
std::map<std::string, std::string> GetAddedFileSystemPaths(
@ -657,4 +657,4 @@ void CommonWebContentsDelegate::HideAutofillPopup() {
autofill_popup_->Hide();
}
} // namespace atom
} // namespace electron