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

Side by Side Diff: chrome/browser/ui/cocoa/passwords/base_passwords_controller_test.mm

Issue 1922133002: Change 'const' -> 'constexpr' in cocoa/passwords. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #include "chrome/browser/ui/cocoa/passwords/base_passwords_controller_test.h" 5 #include "chrome/browser/ui/cocoa/passwords/base_passwords_controller_test.h"
6 6
7 #include "base/strings/utf_string_conversions.h" 7 #include "base/strings/utf_string_conversions.h"
8 #include "chrome/browser/password_manager/password_store_factory.h" 8 #include "chrome/browser/password_manager/password_store_factory.h"
9 #include "chrome/browser/ui/passwords/manage_passwords_ui_controller_mock.h" 9 #include "chrome/browser/ui/passwords/manage_passwords_ui_controller_mock.h"
10 #include "components/password_manager/core/browser/mock_password_store.h" 10 #include "components/password_manager/core/browser/mock_password_store.h"
11 #include "components/password_manager/core/browser/password_manager_test_utils.h " 11 #include "components/password_manager/core/browser/password_manager_test_utils.h "
12 #include "content/public/test/web_contents_tester.h" 12 #include "content/public/test/web_contents_tester.h"
13 13
14 namespace { 14 namespace {
15 const char kSiteOrigin[] = "http://example.com/login"; 15 constexpr char kSiteOrigin[] = "http://example.com/login";
16 } 16 }
17 17
18 using testing::Return; 18 using testing::Return;
19 using testing::ReturnRef; 19 using testing::ReturnRef;
20 20
21 ManagePasswordsControllerTest:: 21 ManagePasswordsControllerTest::
22 ManagePasswordsControllerTest() { 22 ManagePasswordsControllerTest() {
23 } 23 }
24 24
25 ManagePasswordsControllerTest:: 25 ManagePasswordsControllerTest::
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 @implementation ContentViewDelegateMock 111 @implementation ContentViewDelegateMock
112 112
113 @synthesize model = _model; 113 @synthesize model = _model;
114 @synthesize dismissed = _dismissed; 114 @synthesize dismissed = _dismissed;
115 115
116 - (void)viewShouldDismiss { 116 - (void)viewShouldDismiss {
117 _dismissed = YES; 117 _dismissed = YES;
118 } 118 }
119 119
120 @end 120 @end
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698