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

Side by Side Diff: chrome/browser/extensions/api/developer_private/extension_info_generator.h

Issue 1869503004: Convert //tools to use std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_API_DEVELOPER_PRIVATE_EXTENSION_INFO_GENERATOR _H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_DEVELOPER_PRIVATE_EXTENSION_INFO_GENERATOR _H_
6 #define CHROME_BROWSER_EXTENSIONS_API_DEVELOPER_PRIVATE_EXTENSION_INFO_GENERATOR _H_ 6 #define CHROME_BROWSER_EXTENSIONS_API_DEVELOPER_PRIVATE_EXTENSION_INFO_GENERATOR _H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "base/memory/linked_ptr.h" 12 #include "base/memory/scoped_ptr.h"
dcheng 2016/04/06 20:58:05 IWYU for extension API implementations that forgot
13 #include "base/memory/weak_ptr.h" 13 #include "base/memory/weak_ptr.h"
14 #include "chrome/common/extensions/api/developer_private.h" 14 #include "chrome/common/extensions/api/developer_private.h"
15 15
16 namespace content { 16 namespace content {
17 class BrowserContext; 17 class BrowserContext;
18 } 18 }
19 19
20 namespace gfx { 20 namespace gfx {
21 class Image; 21 class Image;
22 } 22 }
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 ExtensionInfosCallback callback_; 97 ExtensionInfosCallback callback_;
98 98
99 base::WeakPtrFactory<ExtensionInfoGenerator> weak_factory_; 99 base::WeakPtrFactory<ExtensionInfoGenerator> weak_factory_;
100 100
101 DISALLOW_COPY_AND_ASSIGN(ExtensionInfoGenerator); 101 DISALLOW_COPY_AND_ASSIGN(ExtensionInfoGenerator);
102 }; 102 };
103 103
104 } // namespace extensions 104 } // namespace extensions
105 105
106 #endif // CHROME_BROWSER_EXTENSIONS_API_DEVELOPER_PRIVATE_EXTENSION_INFO_GENERA TOR_H_ 106 #endif // CHROME_BROWSER_EXTENSIONS_API_DEVELOPER_PRIVATE_EXTENSION_INFO_GENERA TOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698