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

Unified Diff: ios/chrome/test/testing_application_context.h

Issue 1861593005: Convert //ios from scoped_ptr to std::unique_ptr. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase? Created 4 years, 8 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 | « ios/chrome/test/ios_chrome_unit_test_suite.mm ('k') | ios/chrome/test/testing_application_context.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/test/testing_application_context.h
diff --git a/ios/chrome/test/testing_application_context.h b/ios/chrome/test/testing_application_context.h
index 3b891b18b637034d836e830e013b0c18688a8047..506e5204983096f3a882cd89f32f4f65e2355d52 100644
--- a/ios/chrome/test/testing_application_context.h
+++ b/ios/chrome/test/testing_application_context.h
@@ -5,8 +5,9 @@
#ifndef IOS_CHROME_TEST_TESTING_APPLICATION_CONTEXT_H_
#define IOS_CHROME_TEST_TESTING_APPLICATION_CONTEXT_H_
+#include <memory>
+
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/threading/thread_checker.h"
#include "ios/chrome/browser/application_context.h"
@@ -55,7 +56,7 @@ class TestingApplicationContext : public ApplicationContext {
std::string application_locale_;
PrefService* local_state_;
ios::ChromeBrowserStateManager* chrome_browser_state_manager_;
- scoped_ptr<network_time::NetworkTimeTracker> network_time_tracker_;
+ std::unique_ptr<network_time::NetworkTimeTracker> network_time_tracker_;
bool was_last_shutdown_clean_;
DISALLOW_COPY_AND_ASSIGN(TestingApplicationContext);
« no previous file with comments | « ios/chrome/test/ios_chrome_unit_test_suite.mm ('k') | ios/chrome/test/testing_application_context.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698