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

Side by Side Diff: chrome/browser/ui/webui/supervised_user_internals_message_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 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_UI_WEBUI_SUPERVISED_USER_INTERNALS_MESSAGE_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_SUPERVISED_USER_INTERNALS_MESSAGE_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_SUPERVISED_USER_INTERNALS_MESSAGE_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_SUPERVISED_USER_INTERNALS_MESSAGE_HANDLER_H_
7 7
8 #include "base/callback_list.h" 8 #include "base/callback_list.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 const std::map<std::string, base::string16>& whitelists, 49 const std::map<std::string, base::string16>& whitelists,
50 SupervisedUserURLFilter::FilteringBehavior behavior, 50 SupervisedUserURLFilter::FilteringBehavior behavior,
51 supervised_user_error_page::FilteringBehaviorReason reason, 51 supervised_user_error_page::FilteringBehaviorReason reason,
52 bool uncertain); 52 bool uncertain);
53 53
54 void OnURLChecked(const GURL& url, 54 void OnURLChecked(const GURL& url,
55 SupervisedUserURLFilter::FilteringBehavior behavior, 55 SupervisedUserURLFilter::FilteringBehavior behavior,
56 supervised_user_error_page::FilteringBehaviorReason reason, 56 supervised_user_error_page::FilteringBehaviorReason reason,
57 bool uncertain); 57 bool uncertain);
58 58
59 scoped_ptr<base::CallbackList<void( 59 std::unique_ptr<
60 const base::DictionaryValue*)>::Subscription> user_settings_subscription_; 60 base::CallbackList<void(const base::DictionaryValue*)>::Subscription>
61 user_settings_subscription_;
61 62
62 scoped_refptr<IOThreadHelper> io_thread_helper_; 63 scoped_refptr<IOThreadHelper> io_thread_helper_;
63 64
64 base::WeakPtrFactory<SupervisedUserInternalsMessageHandler> weak_factory_; 65 base::WeakPtrFactory<SupervisedUserInternalsMessageHandler> weak_factory_;
65 66
66 DISALLOW_COPY_AND_ASSIGN(SupervisedUserInternalsMessageHandler); 67 DISALLOW_COPY_AND_ASSIGN(SupervisedUserInternalsMessageHandler);
67 }; 68 };
68 69
69 #endif // CHROME_BROWSER_UI_WEBUI_SUPERVISED_USER_INTERNALS_MESSAGE_HANDLER_H_ 70 #endif // CHROME_BROWSER_UI_WEBUI_SUPERVISED_USER_INTERNALS_MESSAGE_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/site_settings_helper.cc ('k') | chrome/browser/ui/webui/supervised_user_internals_message_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698