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

Side by Side Diff: components/component_updater/background_downloader_win.h

Issue 449643002: Componentize component_updater: Move over a bunch of files to the component. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add more checked casts Created 6 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_COMPONENT_UPDATER_BACKGROUND_DOWNLOADER_WIN_H_ 5 #ifndef COMPONENTS_COMPONENT_UPDATER_BACKGROUND_DOWNLOADER_WIN_H_
6 #define CHROME_BROWSER_COMPONENT_UPDATER_BACKGROUND_DOWNLOADER_WIN_H_ 6 #define COMPONENTS_COMPONENT_UPDATER_BACKGROUND_DOWNLOADER_WIN_H_
7 7
8 #include <windows.h> 8 #include <windows.h>
9 #include <bits.h> 9 #include <bits.h>
10 10
11 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
12 #include "base/strings/string16.h" 12 #include "base/strings/string16.h"
13 #include "base/threading/thread_checker.h" 13 #include "base/threading/thread_checker.h"
14 #include "base/time/time.h" 14 #include "base/time/time.h"
15 #include "base/timer/timer.h" 15 #include "base/timer/timer.h"
16 #include "base/win/scoped_comptr.h" 16 #include "base/win/scoped_comptr.h"
17 #include "chrome/browser/component_updater/crx_downloader.h" 17 #include "components/component_updater/crx_downloader.h"
18 18
19 namespace base { 19 namespace base {
20 class FilePath; 20 class FilePath;
21 class MessageLoopProxy; 21 class MessageLoopProxy;
22 class SingleThreadTaskRunner; 22 class SingleThreadTaskRunner;
23 } 23 }
24 24
25 namespace component_updater { 25 namespace component_updater {
26 26
27 // Implements a downloader in terms of the BITS service. The public interface 27 // Implements a downloader in terms of the BITS service. The public interface
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 bool is_completed_; 108 bool is_completed_;
109 109
110 // Contains the path of the downloaded file if the download was successful. 110 // Contains the path of the downloaded file if the download was successful.
111 base::FilePath response_; 111 base::FilePath response_;
112 112
113 DISALLOW_COPY_AND_ASSIGN(BackgroundDownloader); 113 DISALLOW_COPY_AND_ASSIGN(BackgroundDownloader);
114 }; 114 };
115 115
116 } // namespace component_updater 116 } // namespace component_updater
117 117
118 #endif // CHROME_BROWSER_COMPONENT_UPDATER_BACKGROUND_DOWNLOADER_WIN_H_ 118 #endif // COMPONENTS_COMPONENT_UPDATER_BACKGROUND_DOWNLOADER_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698