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

Side by Side Diff: chrome/browser/ui/webui/help/help_handler.h

Issue 1865213004: Convert //chrome/browser/ui from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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_UI_WEBUI_HELP_HELP_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_HELP_HELP_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_HELP_HELP_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_HELP_HELP_HANDLER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 void OnRegulatoryLabelDirFound(const base::FilePath& path); 108 void OnRegulatoryLabelDirFound(const base::FilePath& path);
109 109
110 // Callback for setting the regulatory label source. 110 // Callback for setting the regulatory label source.
111 void OnRegulatoryLabelImageFound(const base::FilePath& path); 111 void OnRegulatoryLabelImageFound(const base::FilePath& path);
112 112
113 // Callback for setting the regulatory label alt text. 113 // Callback for setting the regulatory label alt text.
114 void OnRegulatoryLabelTextRead(const std::string& text); 114 void OnRegulatoryLabelTextRead(const std::string& text);
115 #endif 115 #endif
116 116
117 // Specialized instance of the VersionUpdater used to update the browser. 117 // Specialized instance of the VersionUpdater used to update the browser.
118 scoped_ptr<VersionUpdater> version_updater_; 118 std::unique_ptr<VersionUpdater> version_updater_;
119 119
120 // Used to observe notifications. 120 // Used to observe notifications.
121 content::NotificationRegistrar registrar_; 121 content::NotificationRegistrar registrar_;
122 122
123 // Used to observe changes in the |kDeviceAutoUpdateDisabled| policy. 123 // Used to observe changes in the |kDeviceAutoUpdateDisabled| policy.
124 policy::PolicyChangeRegistrar policy_registrar_; 124 policy::PolicyChangeRegistrar policy_registrar_;
125 125
126 // Used for callbacks. 126 // Used for callbacks.
127 base::WeakPtrFactory<HelpHandler> weak_factory_; 127 base::WeakPtrFactory<HelpHandler> weak_factory_;
128 128
129 DISALLOW_COPY_AND_ASSIGN(HelpHandler); 129 DISALLOW_COPY_AND_ASSIGN(HelpHandler);
130 }; 130 };
131 131
132 #endif // CHROME_BROWSER_UI_WEBUI_HELP_HELP_HANDLER_H_ 132 #endif // CHROME_BROWSER_UI_WEBUI_HELP_HELP_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/foreign_session_handler.cc ('k') | chrome/browser/ui/webui/help/version_updater_chromeos_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698