| Index: chrome/browser/first_run/first_run_gtk.cc
|
| diff --git a/chrome/browser/first_run/first_run_gtk.cc b/chrome/browser/first_run/first_run_gtk.cc
|
| index bb79830c26f6140e11eb9c1e1aaeb8737a93e80c..d970d2151b4e67b2b3be300228dfc9c7ac7737c4 100644
|
| --- a/chrome/browser/first_run/first_run_gtk.cc
|
| +++ b/chrome/browser/first_run/first_run_gtk.cc
|
| @@ -16,6 +16,7 @@
|
| #include "chrome/browser/shell_integration.h"
|
| #include "chrome/common/chrome_switches.h"
|
| #include "chrome/installer/util/google_update_settings.h"
|
| +#include "chrome/installer/util/master_preferences.h"
|
| #include "content/common/result_codes.h"
|
| #include "googleurl/src/gurl.h"
|
| #include "ui/base/ui_base_switches.h"
|
| @@ -57,3 +58,12 @@ void FirstRun::PlatformSetup() {
|
| // Things that Windows does here (creating a desktop icon, for example) are
|
| // handled at install time on Linux.
|
| }
|
| +
|
| +// static
|
| +FilePath FirstRun::MasterPrefsPath() {
|
| + // The standard location of the master prefs is next to the chrome binary.
|
| + FilePath master_prefs;
|
| + if (!PathService::Get(base::DIR_EXE, &master_prefs))
|
| + return FilePath();
|
| + return master_prefs.AppendASCII(installer::kDefaultMasterPrefs);
|
| +}
|
|
|