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

Side by Side Diff: extensions/browser/extension_message_filter.h

Issue 1909773002: Convert //extensions/browser from scoped_ptr to 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 EXTENSIONS_BROWSER_EXTENSION_MESSAGE_FILTER_H_ 5 #ifndef EXTENSIONS_BROWSER_EXTENSION_MESSAGE_FILTER_H_
6 #define EXTENSIONS_BROWSER_EXTENSION_MESSAGE_FILTER_H_ 6 #define EXTENSIONS_BROWSER_EXTENSION_MESSAGE_FILTER_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 void OnExtensionSuspendAck(const std::string& extension_id); 79 void OnExtensionSuspendAck(const std::string& extension_id);
80 void OnExtensionTransferBlobsAck(const std::vector<std::string>& blob_uuids); 80 void OnExtensionTransferBlobsAck(const std::vector<std::string>& blob_uuids);
81 void OnExtensionWakeEventPage(int request_id, 81 void OnExtensionWakeEventPage(int request_id,
82 const std::string& extension_id); 82 const std::string& extension_id);
83 83
84 // Responds to the ExtensionHostMsg_WakeEventPage message. 84 // Responds to the ExtensionHostMsg_WakeEventPage message.
85 void SendWakeEventPageResponse(int request_id, bool success); 85 void SendWakeEventPageResponse(int request_id, bool success);
86 86
87 const int render_process_id_; 87 const int render_process_id_;
88 88
89 scoped_ptr<KeyedServiceShutdownNotifier::Subscription> shutdown_notifier_; 89 std::unique_ptr<KeyedServiceShutdownNotifier::Subscription>
90 shutdown_notifier_;
90 91
91 // Only access from the UI thread. 92 // Only access from the UI thread.
92 content::BrowserContext* browser_context_; 93 content::BrowserContext* browser_context_;
93 94
94 DISALLOW_COPY_AND_ASSIGN(ExtensionMessageFilter); 95 DISALLOW_COPY_AND_ASSIGN(ExtensionMessageFilter);
95 }; 96 };
96 97
97 } // namespace extensions 98 } // namespace extensions
98 99
99 #endif // EXTENSIONS_BROWSER_EXTENSION_MESSAGE_FILTER_H_ 100 #endif // EXTENSIONS_BROWSER_EXTENSION_MESSAGE_FILTER_H_
OLDNEW
« no previous file with comments | « extensions/browser/extension_icon_image_unittest.cc ('k') | extensions/browser/extension_pref_value_map.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698