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

Side by Side Diff: chrome/browser/ui/webui/help/help_handler.h

Issue 799683003: Move chromeos::version_loader to src/chromeos/system (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_HELP_HELP_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_HELP_HELP_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_HELP_HELP_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_HELP_HELP_HANDLER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
11 #include "base/memory/weak_ptr.h" 11 #include "base/memory/weak_ptr.h"
12 #include "base/strings/string16.h" 12 #include "base/strings/string16.h"
13 #include "chrome/browser/ui/webui/help/version_updater.h" 13 #include "chrome/browser/ui/webui/help/version_updater.h"
14 #include "content/public/browser/notification_observer.h" 14 #include "content/public/browser/notification_observer.h"
15 #include "content/public/browser/notification_registrar.h" 15 #include "content/public/browser/notification_registrar.h"
16 #include "content/public/browser/web_ui_message_handler.h" 16 #include "content/public/browser/web_ui_message_handler.h"
17 17
18 #if defined(OS_CHROMEOS) 18 #if defined(OS_CHROMEOS)
19 #include "base/task/cancelable_task_tracker.h" 19 #include "base/task/cancelable_task_tracker.h"
20 #include "chrome/browser/chromeos/version_loader.h" 20 #include "chromeos/system/version_loader.h"
21 #endif // defined(OS_CHROMEOS) 21 #endif // defined(OS_CHROMEOS)
22 22
23 namespace base { 23 namespace base {
24 class DictionaryValue; 24 class DictionaryValue;
25 class ListValue; 25 class ListValue;
26 } 26 }
27 27
28 // WebUI message handler for the help page. 28 // WebUI message handler for the help page.
29 class HelpHandler : public content::WebUIMessageHandler, 29 class HelpHandler : public content::WebUIMessageHandler,
30 public content::NotificationObserver { 30 public content::NotificationObserver {
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 // Used to observe notifications. 101 // Used to observe notifications.
102 content::NotificationRegistrar registrar_; 102 content::NotificationRegistrar registrar_;
103 103
104 // Used for callbacks. 104 // Used for callbacks.
105 base::WeakPtrFactory<HelpHandler> weak_factory_; 105 base::WeakPtrFactory<HelpHandler> weak_factory_;
106 106
107 DISALLOW_COPY_AND_ASSIGN(HelpHandler); 107 DISALLOW_COPY_AND_ASSIGN(HelpHandler);
108 }; 108 };
109 109
110 #endif // CHROME_BROWSER_UI_WEBUI_HELP_HELP_HANDLER_H_ 110 #endif // CHROME_BROWSER_UI_WEBUI_HELP_HELP_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/version_loader_unittest.cc ('k') | chrome/browser/ui/webui/version_handler_chromeos.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698