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

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

Issue 273153003: Remove stray platform_file.h from chrome and components (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove "using" Created 6 years, 7 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 | Annotate | Revision Log
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 "chrome/browser/ui/webui/help/version_updater.h" 12 #include "chrome/browser/ui/webui/help/version_updater.h"
13 #include "content/public/browser/notification_observer.h" 13 #include "content/public/browser/notification_observer.h"
14 #include "content/public/browser/notification_registrar.h" 14 #include "content/public/browser/notification_registrar.h"
15 #include "content/public/browser/web_ui_message_handler.h" 15 #include "content/public/browser/web_ui_message_handler.h"
16 16
17 #if defined(OS_CHROMEOS) 17 #if defined(OS_CHROMEOS)
18 #include "base/platform_file.h"
19 #include "chrome/browser/chromeos/version_loader.h" 18 #include "chrome/browser/chromeos/version_loader.h"
20 #endif // defined(OS_CHROMEOS) 19 #endif // defined(OS_CHROMEOS)
21 20
22 namespace content { 21 namespace content {
23 class WebUIDataSource; 22 class WebUIDataSource;
24 } 23 }
25 24
26 // WebUI message handler for the help page. 25 // WebUI message handler for the help page.
27 class HelpHandler : public content::WebUIMessageHandler, 26 class HelpHandler : public content::WebUIMessageHandler,
28 public content::NotificationObserver { 27 public content::NotificationObserver {
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 base::CancelableTaskTracker tracker_; 96 base::CancelableTaskTracker tracker_;
98 #endif // defined(OS_CHROMEOS) 97 #endif // defined(OS_CHROMEOS)
99 98
100 // Used for callbacks. 99 // Used for callbacks.
101 base::WeakPtrFactory<HelpHandler> weak_factory_; 100 base::WeakPtrFactory<HelpHandler> weak_factory_;
102 101
103 DISALLOW_COPY_AND_ASSIGN(HelpHandler); 102 DISALLOW_COPY_AND_ASSIGN(HelpHandler);
104 }; 103 };
105 104
106 #endif // CHROME_BROWSER_UI_WEBUI_HELP_HELP_HANDLER_H_ 105 #endif // CHROME_BROWSER_UI_WEBUI_HELP_HELP_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc ('k') | chrome/installer/setup/install_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698