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

Unified Diff: chrome/installer/util/chrome_browser_operations.h

Issue 6288009: More installer refactoring in the interest of fixing some bugs and cleaning t... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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/installer/util/channel_info_unittest.cc ('k') | chrome/installer/util/chrome_browser_operations.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/util/chrome_browser_operations.h
===================================================================
--- chrome/installer/util/chrome_browser_operations.h (revision 0)
+++ chrome/installer/util/chrome_browser_operations.h (revision 0)
@@ -0,0 +1,54 @@
+// Copyright (c) 2011 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_INSTALLER_UTIL_CHROME_BROWSER_OPERATIONS_H_
+#define CHROME_INSTALLER_UTIL_CHROME_BROWSER_OPERATIONS_H_
+#pragma once
+
+#include <set>
+#include <string>
+#include <vector>
+
+#include "base/basictypes.h"
+#include "base/compiler_specific.h"
+#include "chrome/installer/util/product_operations.h"
+
+namespace installer {
+
+// Operations specific to Chrome; see ProductOperations for general info.
+class ChromeBrowserOperations : public ProductOperations {
+ public:
+ ChromeBrowserOperations() {}
+
+ virtual void ReadOptions(const MasterPreferences& prefs,
+ std::set<std::wstring>* options) const OVERRIDE;
+
+ virtual void ReadOptions(const CommandLine& uninstall_command,
+ std::set<std::wstring>* options) const OVERRIDE;
+
+ virtual void AddKeyFiles(const std::set<std::wstring>& options,
+ std::vector<FilePath>* key_files) const OVERRIDE;
+
+ virtual void AddComDllList(
+ const std::set<std::wstring>& options,
+ std::vector<FilePath>* com_dll_list) const OVERRIDE;
+
+ virtual void AppendProductFlags(
+ const std::set<std::wstring>& options,
+ CommandLine* uninstall_command) const OVERRIDE;
+
+ virtual bool SetChannelFlags(const std::set<std::wstring>& options,
+ bool set,
+ ChannelInfo* channel_info) const OVERRIDE;
+
+ virtual bool ShouldCreateUninstallEntry(
+ const std::set<std::wstring>& options) const OVERRIDE;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(ChromeBrowserOperations);
+};
+
+} // namespace installer
+
+#endif // CHROME_INSTALLER_UTIL_CHROME_BROWSER_OPERATIONS_H_
Property changes on: chrome\installer\util\chrome_browser_operations.h
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « chrome/installer/util/channel_info_unittest.cc ('k') | chrome/installer/util/chrome_browser_operations.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698