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

Side by Side Diff: chrome/browser/ui/webui/invalidations_message_handler.h

Issue 1191393008: Introduce a layering in the invalidation component as public and impl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Explicitly forbid content to prevent future additions Created 5 years, 5 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 "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
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_
OLDNEW
« no previous file with comments | « chrome/browser/ui/startup/bad_flags_prompt.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