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

Unified Diff: apps/saved_files_service.h

Issue 1851373002: convert //apps to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« no previous file with comments | « apps/launcher.cc ('k') | apps/saved_files_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: apps/saved_files_service.h
diff --git a/apps/saved_files_service.h b/apps/saved_files_service.h
index 0cf7d9c4f46b7c95123c0980b4a8e85db763ec0c..be80e51edee1dfa7134fb1b24d80366fa970ab47 100644
--- a/apps/saved_files_service.h
+++ b/apps/saved_files_service.h
@@ -6,13 +6,13 @@
#define APPS_SAVED_FILES_SERVICE_H_
#include <map>
+#include <memory>
#include <set>
#include <string>
#include <vector>
#include "base/files/file_path.h"
#include "base/gtest_prod_util.h"
-#include "base/memory/scoped_ptr.h"
#include "components/keyed_service/core/keyed_service.h"
#include "content/public/browser/notification_observer.h"
#include "content/public/browser/notification_registrar.h"
@@ -127,7 +127,8 @@ class SavedFilesService : public KeyedService,
static void SetLruSizeForTest(int size);
static void ClearLruSizeForTest();
- std::map<std::string, scoped_ptr<SavedFiles>> extension_id_to_saved_files_;
+ std::map<std::string, std::unique_ptr<SavedFiles>>
+ extension_id_to_saved_files_;
content::NotificationRegistrar registrar_;
Profile* profile_;
« no previous file with comments | « apps/launcher.cc ('k') | apps/saved_files_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698