OLD | NEW |
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 "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
11 #include "base/values.h" | 11 #include "base/values.h" |
12 #include "components/invalidation/invalidation_logger_observer.h" | 12 #include "components/invalidation/impl/invalidation_logger_observer.h" |
13 #include "components/invalidation/invalidation_util.h" | 13 #include "components/invalidation/public/invalidation_util.h" |
14 #include "content/public/browser/web_ui_message_handler.h" | 14 #include "content/public/browser/web_ui_message_handler.h" |
15 | 15 |
16 class Profile; | 16 class Profile; |
17 | 17 |
18 namespace invalidation { | 18 namespace invalidation { |
19 class InvalidationLogger; | 19 class InvalidationLogger; |
20 } // namespace invalidation | 20 } // namespace invalidation |
21 | 21 |
22 namespace syncer { | 22 namespace syncer { |
23 class InvalidationHandler; | 23 class InvalidationHandler; |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 // Used to get the information necessary to display to the JS and to | 60 // Used to get the information necessary to display to the JS and to |
61 // register ourselves as Observers for any notifications. | 61 // register ourselves as Observers for any notifications. |
62 invalidation::InvalidationLogger* logger_; | 62 invalidation::InvalidationLogger* logger_; |
63 | 63 |
64 base::WeakPtrFactory<InvalidationsMessageHandler> weak_ptr_factory_; | 64 base::WeakPtrFactory<InvalidationsMessageHandler> weak_ptr_factory_; |
65 | 65 |
66 DISALLOW_COPY_AND_ASSIGN(InvalidationsMessageHandler); | 66 DISALLOW_COPY_AND_ASSIGN(InvalidationsMessageHandler); |
67 }; | 67 }; |
68 | 68 |
69 #endif // CHROME_BROWSER_UI_WEBUI_INVALIDATIONS_MESSAGE_HANDLER_H_ | 69 #endif // CHROME_BROWSER_UI_WEBUI_INVALIDATIONS_MESSAGE_HANDLER_H_ |
OLD | NEW |