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

Side by Side Diff: chrome/installer/util/chromium_binaries_distribution.h

Issue 1878313003: Convert //chrome/installer from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Revert decompress.cc in mini_installer. Created 4 years, 8 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 // 4 //
5 // This file declares a class that contains various method related to branding. 5 // This file declares a class that contains various method related to branding.
6 6
7 #ifndef CHROME_INSTALLER_UTIL_CHROMIUM_BINARIES_DISTRIBUTION_H_ 7 #ifndef CHROME_INSTALLER_UTIL_CHROMIUM_BINARIES_DISTRIBUTION_H_
8 #define CHROME_INSTALLER_UTIL_CHROMIUM_BINARIES_DISTRIBUTION_H_ 8 #define CHROME_INSTALLER_UTIL_CHROMIUM_BINARIES_DISTRIBUTION_H_
9 9
10 #include <memory>
10 #include <string> 11 #include <string>
11 12
12 #include "base/macros.h" 13 #include "base/macros.h"
13 #include "base/memory/scoped_ptr.h"
14 #include "chrome/installer/util/browser_distribution.h" 14 #include "chrome/installer/util/browser_distribution.h"
15 15
16 class ChromiumBinariesDistribution : public BrowserDistribution { 16 class ChromiumBinariesDistribution : public BrowserDistribution {
17 public: 17 public:
18 base::string16 GetBrowserProgIdPrefix() override; 18 base::string16 GetBrowserProgIdPrefix() override;
19 19
20 base::string16 GetBrowserProgIdDesc() override; 20 base::string16 GetBrowserProgIdDesc() override;
21 21
22 base::string16 GetDisplayName() override; 22 base::string16 GetDisplayName() override;
23 23
(...skipping 24 matching lines...) Expand all
48 bool GetChromeChannel(base::string16* channel) override; 48 bool GetChromeChannel(base::string16* channel) override;
49 49
50 base::string16 GetCommandExecuteImplClsid() override; 50 base::string16 GetCommandExecuteImplClsid() override;
51 51
52 protected: 52 protected:
53 friend class BrowserDistribution; 53 friend class BrowserDistribution;
54 54
55 ChromiumBinariesDistribution(); 55 ChromiumBinariesDistribution();
56 56
57 explicit ChromiumBinariesDistribution( 57 explicit ChromiumBinariesDistribution(
58 scoped_ptr<AppRegistrationData> app_reg_data); 58 std::unique_ptr<AppRegistrationData> app_reg_data);
59 59
60 BrowserDistribution* browser_distribution_; 60 BrowserDistribution* browser_distribution_;
61 61
62 private: 62 private:
63 DISALLOW_COPY_AND_ASSIGN(ChromiumBinariesDistribution); 63 DISALLOW_COPY_AND_ASSIGN(ChromiumBinariesDistribution);
64 }; 64 };
65 65
66 #endif // CHROME_INSTALLER_UTIL_CHROMIUM_BINARIES_DISTRIBUTION_H_ 66 #endif // CHROME_INSTALLER_UTIL_CHROMIUM_BINARIES_DISTRIBUTION_H_
OLDNEW
« no previous file with comments | « chrome/installer/util/chrome_frame_distribution.cc ('k') | chrome/installer/util/chromium_binaries_distribution.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698