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

Side by Side Diff: chrome/browser/ui/webui/print_preview/print_preview_ui_unittest.cc

Issue 629463003: replace OVERRIDE and FINAL with override and final in chrome/browser/ui/[w-z]* (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 (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 #include <vector> 5 #include <vector>
6 6
7 #include "base/memory/ref_counted_memory.h" 7 #include "base/memory/ref_counted_memory.h"
8 #include "base/prefs/pref_service.h" 8 #include "base/prefs/pref_service.h"
9 #include "chrome/browser/printing/print_preview_dialog_controller.h" 9 #include "chrome/browser/printing/print_preview_dialog_controller.h"
10 #include "chrome/browser/printing/print_preview_test.h" 10 #include "chrome/browser/printing/print_preview_test.h"
(...skipping 29 matching lines...) Expand all
40 } 40 }
41 41
42 } // namespace 42 } // namespace
43 43
44 class PrintPreviewUIUnitTest : public PrintPreviewTest { 44 class PrintPreviewUIUnitTest : public PrintPreviewTest {
45 public: 45 public:
46 PrintPreviewUIUnitTest(); 46 PrintPreviewUIUnitTest();
47 virtual ~PrintPreviewUIUnitTest(); 47 virtual ~PrintPreviewUIUnitTest();
48 48
49 protected: 49 protected:
50 virtual void SetUp() OVERRIDE; 50 virtual void SetUp() override;
51 51
52 DISALLOW_COPY_AND_ASSIGN(PrintPreviewUIUnitTest); 52 DISALLOW_COPY_AND_ASSIGN(PrintPreviewUIUnitTest);
53 }; 53 };
54 54
55 PrintPreviewUIUnitTest::PrintPreviewUIUnitTest() {} 55 PrintPreviewUIUnitTest::PrintPreviewUIUnitTest() {}
56 PrintPreviewUIUnitTest::~PrintPreviewUIUnitTest() {} 56 PrintPreviewUIUnitTest::~PrintPreviewUIUnitTest() {}
57 57
58 void PrintPreviewUIUnitTest::SetUp() { 58 void PrintPreviewUIUnitTest::SetUp() {
59 PrintPreviewTest::SetUp(); 59 PrintPreviewTest::SetUp();
60 60
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 cancel = false; 224 cancel = false;
225 preview_ui->GetCurrentPrintPreviewStatus(preview_ui_addr, kFirstRequestId, 225 preview_ui->GetCurrentPrintPreviewStatus(preview_ui_addr, kFirstRequestId,
226 &cancel); 226 &cancel);
227 EXPECT_TRUE(cancel); 227 EXPECT_TRUE(cancel);
228 228
229 cancel = true; 229 cancel = true;
230 preview_ui->GetCurrentPrintPreviewStatus(preview_ui_addr, kSecondRequestId, 230 preview_ui->GetCurrentPrintPreviewStatus(preview_ui_addr, kSecondRequestId,
231 &cancel); 231 &cancel);
232 EXPECT_FALSE(cancel); 232 EXPECT_FALSE(cancel);
233 } 233 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/print_preview/print_preview_handler.cc ('k') | chrome/browser/ui/webui/profiler_ui.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698