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/invalidation_logger_observer.h" |
13 #include "content/public/browser/web_ui_message_handler.h" | 13 #include "content/public/browser/web_ui_message_handler.h" |
14 #include "sync/notifier/invalidation_util.h" | 14 #include "sync/internal_api/public/base/invalidation_util.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; |
24 } // namespace syncer | 24 } // namespace syncer |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 // 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 |
63 // register ourselves as Observers for any notifications. | 63 // register ourselves as Observers for any notifications. |
64 invalidation::InvalidationLogger* logger_; | 64 invalidation::InvalidationLogger* logger_; |
65 | 65 |
66 base::WeakPtrFactory<InvalidationsMessageHandler> weak_ptr_factory_; | 66 base::WeakPtrFactory<InvalidationsMessageHandler> weak_ptr_factory_; |
67 | 67 |
68 DISALLOW_COPY_AND_ASSIGN(InvalidationsMessageHandler); | 68 DISALLOW_COPY_AND_ASSIGN(InvalidationsMessageHandler); |
69 }; | 69 }; |
70 | 70 |
71 #endif // CHROME_BROWSER_UI_WEBUI_INVALIDATIONS_MESSAGE_HANDLER_H_ | 71 #endif // CHROME_BROWSER_UI_WEBUI_INVALIDATIONS_MESSAGE_HANDLER_H_ |
OLD | NEW |