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

Unified Diff: chrome/browser/bitmap_fetcher/bitmap_fetcher_service.h

Issue 2767893002: Remove ScopedVector from chrome/browser/. (Closed)
Patch Set: Address comments from zea@ Created 3 years, 9 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: chrome/browser/bitmap_fetcher/bitmap_fetcher_service.h
diff --git a/chrome/browser/bitmap_fetcher/bitmap_fetcher_service.h b/chrome/browser/bitmap_fetcher/bitmap_fetcher_service.h
index 8c8e355aae59da5080c4b573088628f327991646..a40834cebd88f32a704fff6a13a721331a150638 100644
--- a/chrome/browser/bitmap_fetcher/bitmap_fetcher_service.h
+++ b/chrome/browser/bitmap_fetcher/bitmap_fetcher_service.h
@@ -5,11 +5,11 @@
#define CHROME_BROWSER_BITMAP_FETCHER_BITMAP_FETCHER_SERVICE_H_
#include <memory>
+#include <vector>
#include "base/compiler_specific.h"
#include "base/containers/mru_cache.h"
#include "base/macros.h"
-#include "base/memory/scoped_vector.h"
#include "chrome/browser/bitmap_fetcher/bitmap_fetcher_delegate.h"
#include "components/keyed_service/core/keyed_service.h"
#include "net/traffic_annotation/network_traffic_annotation.h"
@@ -96,7 +96,7 @@ class BitmapFetcherService : public KeyedService,
std::vector<std::unique_ptr<chrome::BitmapFetcher>> active_fetchers_;
// Currently active requests.
- ScopedVector<BitmapFetcherRequest> requests_;
+ std::vector<std::unique_ptr<BitmapFetcherRequest>> requests_;
// Cache of retrieved images.
struct CacheEntry {
« no previous file with comments | « chrome/browser/background/background_mode_manager.cc ('k') | chrome/browser/bitmap_fetcher/bitmap_fetcher_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698