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

Side by Side Diff: chrome/browser/extensions/unpacked_installer.h

Issue 1871713002: Convert //chrome/browser/extensions from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase and fix header 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 #ifndef CHROME_BROWSER_EXTENSIONS_UNPACKED_INSTALLER_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_UNPACKED_INSTALLER_H_
6 #define CHROME_BROWSER_EXTENSIONS_UNPACKED_INSTALLER_H_ 6 #define CHROME_BROWSER_EXTENSIONS_UNPACKED_INSTALLER_H_
7 7
8 #include <memory>
8 #include <string> 9 #include <string>
9 #include <vector> 10 #include <vector>
10 11
11 #include "base/bind.h" 12 #include "base/bind.h"
12 #include "base/files/file_path.h" 13 #include "base/files/file_path.h"
13 #include "base/macros.h" 14 #include "base/macros.h"
14 #include "base/memory/ref_counted.h" 15 #include "base/memory/ref_counted.h"
15 #include "base/memory/scoped_ptr.h"
16 #include "base/memory/weak_ptr.h" 16 #include "base/memory/weak_ptr.h"
17 #include "chrome/browser/extensions/extension_install_checker.h" 17 #include "chrome/browser/extensions/extension_install_checker.h"
18 18
19 class ExtensionService; 19 class ExtensionService;
20 20
21 namespace extensions { 21 namespace extensions {
22 22
23 class Extension; 23 class Extension;
24 24
25 // Installs and loads an unpacked extension. Because internal state needs to be 25 // Installs and loads an unpacked extension. Because internal state needs to be
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 ExtensionInstallChecker install_checker_; 140 ExtensionInstallChecker install_checker_;
141 141
142 CompletionCallback callback_; 142 CompletionCallback callback_;
143 143
144 DISALLOW_COPY_AND_ASSIGN(UnpackedInstaller); 144 DISALLOW_COPY_AND_ASSIGN(UnpackedInstaller);
145 }; 145 };
146 146
147 } // namespace extensions 147 } // namespace extensions
148 148
149 #endif // CHROME_BROWSER_EXTENSIONS_UNPACKED_INSTALLER_H_ 149 #endif // CHROME_BROWSER_EXTENSIONS_UNPACKED_INSTALLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/theme_installed_infobar_delegate.cc ('k') | chrome/browser/extensions/unpacked_installer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698