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

Unified Diff: chrome/tools/launcher_support/chrome_launcher_support.h

Issue 10546149: Factor out logic to find chrome.exe from Omaha client state. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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
Index: chrome/tools/launcher_support/chrome_launcher_support.h
diff --git a/chrome/tools/launcher_support/chrome_launcher_support.h b/chrome/tools/launcher_support/chrome_launcher_support.h
new file mode 100644
index 0000000000000000000000000000000000000000..891be6e6ecf788b0b9c6eb7bf864c106191048a4
--- /dev/null
+++ b/chrome/tools/launcher_support/chrome_launcher_support.h
@@ -0,0 +1,22 @@
+// Copyright (c) 2012 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_TOOLS_LAUNCHER_SUPPORT_CHROME_LAUNCHER_SUPPORT_H_
+#define CHROME_TOOLS_LAUNCHER_SUPPORT_CHROME_LAUNCHER_SUPPORT_H_
+
grt (UTC plus 2) 2012/06/13 18:00:10 #pragma once
erikwright (departed) 2012/06/13 19:43:43 Done.
+class FilePath;
grt (UTC plus 2) 2012/06/13 18:00:10 since FilePath is used directly rather than just a
erikwright (departed) 2012/06/13 19:43:43 http://google-styleguide.googlecode.com/svn/trunk/
+
+namespace chrome_launcher_support {
grt (UTC plus 2) 2012/06/13 18:00:10 please document the declarations in this file.
erikwright (departed) 2012/06/13 19:43:43 Done.
+
+enum InstallationLevel {
+ USER_LEVEL_INSTALLATION,
+ SYSTEM_LEVEL_INSTALLATION
+};
+
+FilePath GetAnyChromePath();
robertshield 2012/06/13 18:01:53 could you add a comment to these methods (mainly t
erikwright (departed) 2012/06/13 19:43:43 Done.
+FilePath GetChromePathForInstallationLevel(InstallationLevel level);
+
+} // namespace chrome_launcher_support
+
+#endif // CHROME_TOOLS_LAUNCHER_SUPPORT_CHROME_LAUNCHER_SUPPORT_H_

Powered by Google App Engine
This is Rietveld 408576698