Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3984)

Unified Diff: chrome/browser/shell_integration.h

Issue 1606007: Move EnvironmentVariableGetter from base/linux_util.h to base/env_var.h. Labe... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix windows build for good this time? Created 10 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/gtk/options/advanced_contents_gtk.cc ('k') | chrome/browser/shell_integration_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/shell_integration.h
===================================================================
--- chrome/browser/shell_integration.h (revision 43506)
+++ chrome/browser/shell_integration.h (working copy)
@@ -1,9 +1,9 @@
-// Copyright (c) 2006-2008 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.
-#ifndef CHROME_BROWSER_SHELL_INTEGRATION_H__
-#define CHROME_BROWSER_SHELL_INTEGRATION_H__
+#ifndef CHROME_BROWSER_SHELL_INTEGRATION_H_
+#define CHROME_BROWSER_SHELL_INTEGRATION_H_
#include <string>
@@ -15,9 +15,11 @@
class FilePath;
+#if defined(USE_X11)
namespace base {
-class EnvironmentVariableGetter;
+class EnvVarGetter;
}
+#endif
class ShellIntegration {
public:
@@ -73,8 +75,8 @@
const string16& extension_app_id);
#if defined(USE_X11)
- static bool GetDesktopShortcutTemplate(
- base::EnvironmentVariableGetter* env_getter, std::string* output);
+ static bool GetDesktopShortcutTemplate(base::EnvVarGetter* env_getter,
+ std::string* output);
// Returns filename for .desktop file based on |url|, sanitized for security.
static FilePath GetDesktopShortcutFilename(const GURL& url);
@@ -169,4 +171,4 @@
};
};
-#endif // CHROME_BROWSER_SHELL_INTEGRATION_H__
+#endif // CHROME_BROWSER_SHELL_INTEGRATION_H_
« no previous file with comments | « chrome/browser/gtk/options/advanced_contents_gtk.cc ('k') | chrome/browser/shell_integration_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698