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

Side by Side Diff: chrome/browser/chromeos/policy/login_policy_test_base.h

Issue 1870793002: Convert //chrome/browser/chromeos 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_CHROMEOS_POLICY_LOGIN_POLICY_TEST_BASE_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_POLICY_LOGIN_POLICY_TEST_BASE_H_
6 #define CHROME_BROWSER_CHROMEOS_POLICY_LOGIN_POLICY_TEST_BASE_H_ 6 #define CHROME_BROWSER_CHROMEOS_POLICY_LOGIN_POLICY_TEST_BASE_H_
7 7
8 #include <memory>
8 #include <string> 9 #include <string>
9 10
10 #include "base/macros.h" 11 #include "base/macros.h"
11 #include "base/memory/scoped_ptr.h"
12 #include "chrome/browser/chromeos/login/test/oobe_base_test.h" 12 #include "chrome/browser/chromeos/login/test/oobe_base_test.h"
13 13
14 namespace base { 14 namespace base {
15 class DictionaryValue; 15 class DictionaryValue;
16 } 16 }
17 17
18 namespace policy { 18 namespace policy {
19 19
20 class UserPolicyTestHelper; 20 class UserPolicyTestHelper;
21 21
(...skipping 19 matching lines...) Expand all
41 void SkipToLoginScreen(); 41 void SkipToLoginScreen();
42 void LogIn(const std::string& user_id, const std::string& password); 42 void LogIn(const std::string& user_id, const std::string& password);
43 43
44 static const char kAccountPassword[]; 44 static const char kAccountPassword[];
45 static const char kAccountId[]; 45 static const char kAccountId[];
46 46
47 private: 47 private:
48 void SetUpGaiaServerWithAccessTokens(); 48 void SetUpGaiaServerWithAccessTokens();
49 void SetMergeSessionParams(); 49 void SetMergeSessionParams();
50 50
51 scoped_ptr<UserPolicyTestHelper> user_policy_helper_; 51 std::unique_ptr<UserPolicyTestHelper> user_policy_helper_;
52 52
53 DISALLOW_COPY_AND_ASSIGN(LoginPolicyTestBase); 53 DISALLOW_COPY_AND_ASSIGN(LoginPolicyTestBase);
54 }; 54 };
55 55
56 } // namespace policy 56 } // namespace policy
57 57
58 #endif // CHROME_BROWSER_CHROMEOS_POLICY_LOGIN_POLICY_TEST_BASE_H_ 58 #endif // CHROME_BROWSER_CHROMEOS_POLICY_LOGIN_POLICY_TEST_BASE_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/policy/heartbeat_scheduler.h ('k') | chrome/browser/chromeos/policy/login_profile_policy_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698