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

Side by Side Diff: chrome/browser/ui/webui/invalidations_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 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 CHROME_BROWSER_UI_WEBUI_INVALIDATIONS_MESSAGE_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_INVALIDATIONS_MESSAGE_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_INVALIDATIONS_MESSAGE_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_INVALIDATIONS_MESSAGE_HANDLER_H_
7 7
8 #include <memory>
9
8 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
9 #include "base/macros.h" 11 #include "base/macros.h"
10 #include "base/memory/scoped_ptr.h"
11 #include "base/memory/weak_ptr.h" 12 #include "base/memory/weak_ptr.h"
12 #include "base/values.h" 13 #include "base/values.h"
13 #include "components/invalidation/impl/invalidation_logger_observer.h" 14 #include "components/invalidation/impl/invalidation_logger_observer.h"
14 #include "components/invalidation/public/invalidation_util.h" 15 #include "components/invalidation/public/invalidation_util.h"
15 #include "content/public/browser/web_ui_message_handler.h" 16 #include "content/public/browser/web_ui_message_handler.h"
16 17
17 class Profile; 18 class Profile;
18 19
19 namespace invalidation { 20 namespace invalidation {
20 class InvalidationLogger; 21 class InvalidationLogger;
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 // Used to get the information necessary to display to the JS and to 62 // Used to get the information necessary to display to the JS and to
62 // register ourselves as Observers for any notifications. 63 // register ourselves as Observers for any notifications.
63 invalidation::InvalidationLogger* logger_; 64 invalidation::InvalidationLogger* logger_;
64 65
65 base::WeakPtrFactory<InvalidationsMessageHandler> weak_ptr_factory_; 66 base::WeakPtrFactory<InvalidationsMessageHandler> weak_ptr_factory_;
66 67
67 DISALLOW_COPY_AND_ASSIGN(InvalidationsMessageHandler); 68 DISALLOW_COPY_AND_ASSIGN(InvalidationsMessageHandler);
68 }; 69 };
69 70
70 #endif // CHROME_BROWSER_UI_WEBUI_INVALIDATIONS_MESSAGE_HANDLER_H_ 71 #endif // CHROME_BROWSER_UI_WEBUI_INVALIDATIONS_MESSAGE_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/interstitials/interstitial_ui.cc ('k') | chrome/browser/ui/webui/invalidations_message_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698