mirror of
https://github.com/electron/electron.git
synced 2026-05-02 03:00:22 -04:00
Use const references
This commit is contained in:
committed by
Cheng Zhao
parent
0ddd078aaf
commit
448ccc261d
@@ -54,8 +54,8 @@ class Window : public mate::TrackableObject<Window>,
|
||||
|
||||
int32_t ID() const;
|
||||
|
||||
static void AddGlobalPreload(const base::FilePath::StringType preloadPath);
|
||||
static void RemoveGlobalPreload(const base::FilePath::StringType preloadPath);
|
||||
static void AddGlobalPreload(const base::FilePath::StringType& preloadPath);
|
||||
static void RemoveGlobalPreload(const base::FilePath::StringType& preloadPath);
|
||||
static std::vector<base::FilePath::StringType> GetGlobalPreloads();
|
||||
|
||||
protected:
|
||||
|
||||
Reference in New Issue
Block a user