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

Unified Diff: chrome/browser/android/data_usage/external_data_use_observer.h

Issue 2624663002: Changed uses of deque to vector in chrome/browser/android/data_usage. (Closed)
Patch Set: fix bad math Created 3 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
« no previous file with comments | « no previous file | chrome/browser/android/data_usage/external_data_use_observer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/data_usage/external_data_use_observer.h
diff --git a/chrome/browser/android/data_usage/external_data_use_observer.h b/chrome/browser/android/data_usage/external_data_use_observer.h
index 97d8f95554d1d9b18fb01ef57fc4406a0841605e..41685228a26f5a1f08d32de78af5bdb756790b4d 100644
--- a/chrome/browser/android/data_usage/external_data_use_observer.h
+++ b/chrome/browser/android/data_usage/external_data_use_observer.h
@@ -5,8 +5,8 @@
#ifndef CHROME_BROWSER_ANDROID_DATA_USAGE_EXTERNAL_DATA_USE_OBSERVER_H_
#define CHROME_BROWSER_ANDROID_DATA_USAGE_EXTERNAL_DATA_USE_OBSERVER_H_
-#include <deque>
#include <memory>
+#include <vector>
#include "base/gtest_prod_util.h"
#include "base/macros.h"
@@ -116,7 +116,7 @@ class ExternalDataUseObserver : public data_usage::DataUseAggregator::Observer {
// Batches the data use objects reported by DataUseAggregator. This will be
// created when data use batching starts and released when the batching ends.
// This will be null if there is no ongoing batching of data use objects.
- std::unique_ptr<std::deque<const data_usage::DataUse>> data_use_list_;
+ std::unique_ptr<std::vector<const data_usage::DataUse>> data_use_list_;
// |io_task_runner_| is used to call methods on IO thread.
scoped_refptr<base::SingleThreadTaskRunner> io_task_runner_;
« no previous file with comments | « no previous file | chrome/browser/android/data_usage/external_data_use_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698