Provide a flexible API for app.relaunch

This commit is contained in:
Cheng Zhao 2016-06-02 21:49:29 +09:00
parent 3de41fb22d
commit 91a9e67dca
4 changed files with 43 additions and 38 deletions

View file

@ -106,10 +106,11 @@ class App : public AtomBrowserClient::Delegate,
const base::FilePath& path);
void SetDesktopName(const std::string& desktop_name);
std::string GetLocale();
bool MakeSingleInstance(
const ProcessSingleton::NotificationCallback& callback);
void ReleaseSingleInstance();
std::string GetLocale();
bool Relaunch(mate::Arguments* args);
#if defined(USE_NSS_CERTS)
void ImportCertificate(const base::DictionaryValue& options,