chore: remove native_mate (Part 8) (#20598)
* refactor: convert methods of AutoUpdater to gin * refactor: converter in map_converter.h is no more needed * refactor: use gin in crash_reporter * refactor: remove native_mate_converters/map_converter.h * refactor: implement gfx_converter with gin * refactor: convert methods of NativeImage to gin * refactor: add gin_helper::Arguments * fix: use gin_helper::Arguments to parse multi-type parameters
This commit is contained in:
parent
58115c1cae
commit
19223952a8
23 changed files with 361 additions and 212 deletions
|
@ -10,12 +10,15 @@
|
|||
|
||||
#include "base/macros.h"
|
||||
#include "build/build_config.h"
|
||||
#include "native_mate/arguments.h"
|
||||
|
||||
namespace base {
|
||||
class Time;
|
||||
}
|
||||
|
||||
namespace gin_helper {
|
||||
class Arguments;
|
||||
}
|
||||
|
||||
namespace auto_updater {
|
||||
|
||||
class Delegate {
|
||||
|
@ -55,7 +58,10 @@ class AutoUpdater {
|
|||
static void SetDelegate(Delegate* delegate);
|
||||
|
||||
static std::string GetFeedURL();
|
||||
static void SetFeedURL(mate::Arguments* args);
|
||||
// FIXME(zcbenz): We should not do V8 in this file, this method should only
|
||||
// accept C++ struct as parameter, and atom_api_auto_updater.cc is responsible
|
||||
// for parsing the parameter from JavaScript.
|
||||
static void SetFeedURL(gin_helper::Arguments* args);
|
||||
static void CheckForUpdates();
|
||||
static void QuitAndInstall();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue