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

Side by Side Diff: chrome/browser/sync/test/integration/apps_helper.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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_SYNC_TEST_INTEGRATION_APPS_HELPER_H_ 5 #ifndef CHROME_BROWSER_SYNC_TEST_INTEGRATION_APPS_HELPER_H_
6 #define CHROME_BROWSER_SYNC_TEST_INTEGRATION_APPS_HELPER_H_ 6 #define CHROME_BROWSER_SYNC_TEST_INTEGRATION_APPS_HELPER_H_
7 7
8 #include <memory>
8 #include <string> 9 #include <string>
9 #include <vector> 10 #include <vector>
10 11
11 #include "base/compiler_specific.h" 12 #include "base/compiler_specific.h"
12 #include "chrome/browser/sync/test/integration/status_change_checker.h" 13 #include "chrome/browser/sync/test/integration/status_change_checker.h"
13 #include "chrome/browser/sync/test/integration/sync_test.h" 14 #include "chrome/browser/sync/test/integration/sync_test.h"
14 #include "components/sync/model/string_ordinal.h" 15 #include "components/sync/model/string_ordinal.h"
15 #include "content/public/browser/notification_observer.h" 16 #include "content/public/browser/notification_observer.h"
16 #include "content/public/browser/notification_registrar.h" 17 #include "content/public/browser/notification_registrar.h"
17 #include "extensions/browser/extension_prefs_observer.h" 18 #include "extensions/browser/extension_prefs_observer.h"
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 void Observe(int type, 147 void Observe(int type,
147 const content::NotificationSource& source, 148 const content::NotificationSource& source,
148 const content::NotificationDetails& details) override; 149 const content::NotificationDetails& details) override;
149 150
150 private: 151 private:
151 std::vector<Profile*> profiles_; 152 std::vector<Profile*> profiles_;
152 153
153 content::NotificationRegistrar registrar_; 154 content::NotificationRegistrar registrar_;
154 155
155 // This installs apps, too. 156 // This installs apps, too.
156 ScopedVector<SyncedExtensionInstaller> synced_extension_installers_; 157 std::vector<std::unique_ptr<SyncedExtensionInstaller>>
158 synced_extension_installers_;
157 159
158 DISALLOW_COPY_AND_ASSIGN(AppsMatchChecker); 160 DISALLOW_COPY_AND_ASSIGN(AppsMatchChecker);
159 }; 161 };
160 162
161 #endif // CHROME_BROWSER_SYNC_TEST_INTEGRATION_APPS_HELPER_H_ 163 #endif // CHROME_BROWSER_SYNC_TEST_INTEGRATION_APPS_HELPER_H_
OLDNEW
« no previous file with comments | « chrome/browser/supervised_user/supervised_user_service.cc ('k') | chrome/browser/sync/test/integration/apps_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698