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

Side by Side Diff: chrome/browser/chromeos/drive/download_handler.h

Issue 1246753003: Move a subset of chrome/browser/chromeos/drive into components/drive (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed incorrect reference to a GYP dependency. Created 5 years, 4 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
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_CHROMEOS_DRIVE_DOWNLOAD_HANDLER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_DRIVE_DOWNLOAD_HANDLER_H_
6 #define CHROME_BROWSER_CHROMEOS_DRIVE_DOWNLOAD_HANDLER_H_ 6 #define CHROME_BROWSER_CHROMEOS_DRIVE_DOWNLOAD_HANDLER_H_
7 7
8 #include "base/callback_forward.h" 8 #include "base/callback_forward.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "chrome/browser/chromeos/drive/file_errors.h"
11 #include "chrome/browser/download/all_download_item_notifier.h" 10 #include "chrome/browser/download/all_download_item_notifier.h"
11 #include "components/drive/file_errors.h"
12 #include "content/public/browser/download_manager_delegate.h" 12 #include "content/public/browser/download_manager_delegate.h"
13 13
14 class Profile; 14 class Profile;
15 15
16 namespace content { 16 namespace content {
17 class DownloadItem; 17 class DownloadItem;
18 class DownloadManager; 18 class DownloadManager;
19 } 19 }
20 20
21 namespace drive { 21 namespace drive {
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 // Note: This should remain the last member so it'll be destroyed and 114 // Note: This should remain the last member so it'll be destroyed and
115 // invalidate its weak pointers before any other members are destroyed. 115 // invalidate its weak pointers before any other members are destroyed.
116 base::WeakPtrFactory<DownloadHandler> weak_ptr_factory_; 116 base::WeakPtrFactory<DownloadHandler> weak_ptr_factory_;
117 117
118 DISALLOW_COPY_AND_ASSIGN(DownloadHandler); 118 DISALLOW_COPY_AND_ASSIGN(DownloadHandler);
119 }; 119 };
120 120
121 } // namespace drive 121 } // namespace drive
122 122
123 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_DOWNLOAD_HANDLER_H_ 123 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_DOWNLOAD_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/drive/directory_loader_unittest.cc ('k') | chrome/browser/chromeos/drive/drive_file_stream_reader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698