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

Side by Side Diff: chrome/browser/ui/cocoa/autofill/new_credit_card_bubble_cocoa_unittest.mm

Issue 627043002: replace OVERRIDE and FINAL with override and final in chrome/browser/ui/[a-s]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/autofill/new_credit_card_bubble_cocoa.h" 5 #include "chrome/browser/ui/cocoa/autofill/new_credit_card_bubble_cocoa.h"
6 6
7 #import <Cocoa/Cocoa.h> 7 #import <Cocoa/Cocoa.h>
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/gtest_prod_util.h" 9 #include "base/gtest_prod_util.h"
10 #include "base/mac/foundation_util.h" 10 #include "base/mac/foundation_util.h"
(...skipping 14 matching lines...) Expand all
25 using autofill::NewCreditCardBubbleView; 25 using autofill::NewCreditCardBubbleView;
26 using autofill::NewCreditCardBubbleController; 26 using autofill::NewCreditCardBubbleController;
27 using autofill::NewCreditCardBubbleCocoa; 27 using autofill::NewCreditCardBubbleCocoa;
28 using content::SiteInstance; 28 using content::SiteInstance;
29 using content::WebContents; 29 using content::WebContents;
30 30
31 namespace autofill { 31 namespace autofill {
32 32
33 class NewCreditCardBubbleCocoaUnitTest : public CocoaProfileTest { 33 class NewCreditCardBubbleCocoaUnitTest : public CocoaProfileTest {
34 public: 34 public:
35 virtual void SetUp() OVERRIDE { 35 virtual void SetUp() override {
36 CocoaProfileTest::SetUp(); 36 CocoaProfileTest::SetUp();
37 ASSERT_TRUE(profile()); 37 ASSERT_TRUE(profile());
38 38
39 site_instance_ = SiteInstance::Create(profile()); 39 site_instance_ = SiteInstance::Create(profile());
40 } 40 }
41 41
42 NewCreditCardBubbleController* CreateController(WebContents* contents) { 42 NewCreditCardBubbleController* CreateController(WebContents* contents) {
43 return new NewCreditCardBubbleController(contents); 43 return new NewCreditCardBubbleController(contents);
44 } 44 }
45 45
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 ASSERT_TRUE(view.get()); 79 ASSERT_TRUE(view.get());
80 80
81 view->Hide(); 81 view->Hide();
82 autorelease_pool.Recycle(); 82 autorelease_pool.Recycle();
83 ASSERT_FALSE(view.get()); 83 ASSERT_FALSE(view.get());
84 84
85 // |controller| gets deleted via the bubble closing. 85 // |controller| gets deleted via the bubble closing.
86 } 86 }
87 87
88 } // autofill 88 } // autofill
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698