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

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

Issue 10413012: Cleanup: Remove unneeded scoped_ptr.h includes from chrome/browser/ui. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: rebase Created 8 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_DOWNLOADS_DOM_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_DOWNLOADS_DOM_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_DOWNLOADS_DOM_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_DOWNLOADS_DOM_HANDLER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/memory/scoped_ptr.h" 11 #include "base/compiler_specific.h"
12 #include "base/memory/weak_ptr.h" 12 #include "base/memory/weak_ptr.h"
13 #include "content/public/browser/download_item.h" 13 #include "content/public/browser/download_item.h"
14 #include "content/public/browser/download_manager.h" 14 #include "content/public/browser/download_manager.h"
15 #include "content/public/browser/web_ui_message_handler.h" 15 #include "content/public/browser/web_ui_message_handler.h"
16 16
17 namespace base { 17 namespace base {
18 class ListValue; 18 class ListValue;
19 } 19 }
20 20
21 // The handler for Javascript messages related to the "downloads" view, 21 // The handler for Javascript messages related to the "downloads" view,
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 // notification should follow close on the heels of such a change. 130 // notification should follow close on the heels of such a change.
131 typedef std::vector<content::DownloadItem*> OrderedDownloads; 131 typedef std::vector<content::DownloadItem*> OrderedDownloads;
132 OrderedDownloads download_items_; 132 OrderedDownloads download_items_;
133 133
134 base::WeakPtrFactory<DownloadsDOMHandler> weak_ptr_factory_; 134 base::WeakPtrFactory<DownloadsDOMHandler> weak_ptr_factory_;
135 135
136 DISALLOW_COPY_AND_ASSIGN(DownloadsDOMHandler); 136 DISALLOW_COPY_AND_ASSIGN(DownloadsDOMHandler);
137 }; 137 };
138 138
139 #endif // CHROME_BROWSER_UI_WEBUI_DOWNLOADS_DOM_HANDLER_H_ 139 #endif // CHROME_BROWSER_UI_WEBUI_DOWNLOADS_DOM_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/chromeos/login/network_screen_handler.h ('k') | chrome/browser/ui/webui/omnibox/omnibox_ui.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698