| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_SYNC_INTERNALS_UI_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_SYNC_INTERNALS_UI_H_ |
| 6 #define CHROME_BROWSER_UI_WEBUI_SYNC_INTERNALS_UI_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_SYNC_INTERNALS_UI_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/basictypes.h" |
| 11 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
| 12 #include "base/basictypes.h" | |
| 13 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
| 14 #include "chrome/browser/sync/js_event_handler.h" | 14 #include "chrome/browser/sync/js/js_event_handler.h" |
| 15 #include "chrome/browser/sync/js_reply_handler.h" | 15 #include "chrome/browser/sync/js/js_reply_handler.h" |
| 16 #include "chrome/browser/ui/webui/chrome_web_ui.h" | 16 #include "chrome/browser/ui/webui/chrome_web_ui.h" |
| 17 | 17 |
| 18 class ProfileSyncService; | 18 class ProfileSyncService; |
| 19 | 19 |
| 20 namespace browser_sync { | 20 namespace browser_sync { |
| 21 class JsController; | 21 class JsController; |
| 22 } // namespace browser_sync | 22 } // namespace browser_sync |
| 23 | 23 |
| 24 // The implementation for the chrome://sync-internals page. | 24 // The implementation for the chrome://sync-internals page. |
| 25 class SyncInternalsUI : public ChromeWebUI, | 25 class SyncInternalsUI : public ChromeWebUI, |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 const browser_sync::JsArgList& args) OVERRIDE; | 57 const browser_sync::JsArgList& args) OVERRIDE; |
| 58 | 58 |
| 59 private: | 59 private: |
| 60 base::WeakPtrFactory<SyncInternalsUI> weak_ptr_factory_; | 60 base::WeakPtrFactory<SyncInternalsUI> weak_ptr_factory_; |
| 61 base::WeakPtr<browser_sync::JsController> js_controller_; | 61 base::WeakPtr<browser_sync::JsController> js_controller_; |
| 62 | 62 |
| 63 DISALLOW_COPY_AND_ASSIGN(SyncInternalsUI); | 63 DISALLOW_COPY_AND_ASSIGN(SyncInternalsUI); |
| 64 }; | 64 }; |
| 65 | 65 |
| 66 #endif // CHROME_BROWSER_UI_WEBUI_SYNC_INTERNALS_UI_H_ | 66 #endif // CHROME_BROWSER_UI_WEBUI_SYNC_INTERNALS_UI_H_ |
| OLD | NEW |