| Index: chrome/browser/gtk/create_application_shortcuts_dialog_gtk.cc
|
| ===================================================================
|
| --- chrome/browser/gtk/create_application_shortcuts_dialog_gtk.cc (revision 43506)
|
| +++ chrome/browser/gtk/create_application_shortcuts_dialog_gtk.cc (working copy)
|
| @@ -1,11 +1,13 @@
|
| -// Copyright (c) 2009 The Chromium Authors. All rights reserved.
|
| +// Copyright (c) 2010 The Chromium Authors. All rights reserved.
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| #include "chrome/browser/gtk/create_application_shortcuts_dialog_gtk.h"
|
|
|
| +#include <string>
|
| +
|
| #include "app/l10n_util.h"
|
| -#include "base/linux_util.h"
|
| +#include "base/env_var.h"
|
| #include "chrome/browser/chrome_thread.h"
|
| #include "chrome/browser/gtk/gtk_util.h"
|
| #include "chrome/browser/shell_integration.h"
|
| @@ -124,8 +126,7 @@
|
| const ShellIntegration::ShortcutInfo& shortcut_info) {
|
| DCHECK(ChromeThread::CurrentlyOn(ChromeThread::FILE));
|
|
|
| - scoped_ptr<base::EnvironmentVariableGetter> env_getter(
|
| - base::EnvironmentVariableGetter::Create());
|
| + scoped_ptr<base::EnvVarGetter> env_getter(base::EnvVarGetter::Create());
|
|
|
| std::string shortcut_template;
|
| if (ShellIntegration::GetDesktopShortcutTemplate(env_getter.get(),
|
|
|