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

Side by Side Diff: chrome/browser/ui/webui/extensions/install_extension_handler.h

Issue 16632008: Use a direct include of strings headers in chrome/browser/ui/webui/, part 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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_EXTENSIONS_INSTALL_EXTENSION_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_EXTENSIONS_INSTALL_EXTENSION_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_EXTENSIONS_INSTALL_EXTENSION_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_EXTENSIONS_INSTALL_EXTENSION_HANDLER_H_
7 7
8 #include "base/files/file_path.h" 8 #include "base/files/file_path.h"
9 #include "base/string16.h" 9 #include "base/strings/string16.h"
10 #include "base/values.h" 10 #include "base/values.h"
11 #include "content/public/browser/web_ui_message_handler.h" 11 #include "content/public/browser/web_ui_message_handler.h"
12 12
13 namespace content { 13 namespace content {
14 class WebUIDataSource; 14 class WebUIDataSource;
15 } 15 }
16 16
17 // Handles installing an extension when its file is dragged onto the page. 17 // Handles installing an extension when its file is dragged onto the page.
18 class InstallExtensionHandler : public content::WebUIMessageHandler { 18 class InstallExtensionHandler : public content::WebUIMessageHandler {
19 public: 19 public:
(...skipping 25 matching lines...) Expand all
45 45
46 // The path to the file that will be installed when HandleInstallMessage() is 46 // The path to the file that will be installed when HandleInstallMessage() is
47 // called. 47 // called.
48 base::FilePath file_to_install_; 48 base::FilePath file_to_install_;
49 base::string16 file_display_name_; 49 base::string16 file_display_name_;
50 50
51 DISALLOW_COPY_AND_ASSIGN(InstallExtensionHandler); 51 DISALLOW_COPY_AND_ASSIGN(InstallExtensionHandler);
52 }; 52 };
53 53
54 #endif // CHROME_BROWSER_UI_WEBUI_EXTENSIONS_INSTALL_EXTENSION_HANDLER_H_ 54 #endif // CHROME_BROWSER_UI_WEBUI_EXTENSIONS_INSTALL_EXTENSION_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698