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

Unified Diff: components/update_client/background_downloader_win.h

Issue 808773005: Move most of the component updater artifacts to update_client. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: components/update_client/background_downloader_win.h
diff --git a/components/component_updater/background_downloader_win.h b/components/update_client/background_downloader_win.h
similarity index 91%
rename from components/component_updater/background_downloader_win.h
rename to components/update_client/background_downloader_win.h
index fe4a919ab0269d0b2577100f54ca9dc3ea300496..48ce6ddecf587b075bc3c169f8db64a7e435e226 100644
--- a/components/component_updater/background_downloader_win.h
+++ b/components/update_client/background_downloader_win.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef COMPONENTS_COMPONENT_UPDATER_BACKGROUND_DOWNLOADER_WIN_H_
-#define COMPONENTS_COMPONENT_UPDATER_BACKGROUND_DOWNLOADER_WIN_H_
+#ifndef COMPONENTS_UPDATE_CLIENT_BACKGROUND_DOWNLOADER_WIN_H_
+#define COMPONENTS_UPDATE_CLIENT_BACKGROUND_DOWNLOADER_WIN_H_
#include <windows.h>
#include <bits.h>
@@ -15,7 +15,7 @@
#include "base/time/time.h"
#include "base/timer/timer.h"
#include "base/win/scoped_comptr.h"
-#include "components/component_updater/crx_downloader.h"
+#include "components/update_client/crx_downloader.h"
namespace base {
class FilePath;
@@ -23,7 +23,7 @@ class MessageLoopProxy;
class SingleThreadTaskRunner;
}
-namespace component_updater {
+namespace update_client {
// Implements a downloader in terms of the BITS service. The public interface
// of this class and the CrxDownloader overrides are expected to be called
@@ -94,7 +94,7 @@ class BackgroundDownloader : public CrxDownloader {
// The timer and the BITS interface pointers have thread affinity. These
// members are initialized on the task runner and they must be destroyed
// on the task runner.
- scoped_ptr<base::RepeatingTimer<BackgroundDownloader> > timer_;
+ scoped_ptr<base::RepeatingTimer<BackgroundDownloader>> timer_;
base::win::ScopedComPtr<IBackgroundCopyManager> bits_manager_;
base::win::ScopedComPtr<IBackgroundCopyJob> job_;
@@ -114,6 +114,6 @@ class BackgroundDownloader : public CrxDownloader {
DISALLOW_COPY_AND_ASSIGN(BackgroundDownloader);
};
-} // namespace component_updater
+} // namespace update_client
-#endif // COMPONENTS_COMPONENT_UPDATER_BACKGROUND_DOWNLOADER_WIN_H_
+#endif // COMPONENTS_UPDATE_CLIENT_BACKGROUND_DOWNLOADER_WIN_H_

Powered by Google App Engine
This is Rietveld 408576698