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

Side by Side Diff: chrome/browser/ui/pdf/pdf_browsertest_base.h

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 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 #ifndef CHROME_BROWSER_UI_PDF_PDF_BROWSERTEST_BASE_H_ 5 #ifndef CHROME_BROWSER_UI_PDF_PDF_BROWSERTEST_BASE_H_
6 #define CHROME_BROWSER_UI_PDF_PDF_BROWSERTEST_BASE_H_ 6 #define CHROME_BROWSER_UI_PDF_PDF_BROWSERTEST_BASE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
(...skipping 29 matching lines...) Expand all
40 void Load(); 40 void Load();
41 void WaitForResponse(); 41 void WaitForResponse();
42 bool VerifySnapshot(const std::string& expected_filename); 42 bool VerifySnapshot(const std::string& expected_filename);
43 43
44 private: 44 private:
45 void CopyFromBackingStoreCallback(bool success, const SkBitmap& bitmap); 45 void CopyFromBackingStoreCallback(bool success, const SkBitmap& bitmap);
46 46
47 // content::NotificationObserver 47 // content::NotificationObserver
48 virtual void Observe(int type, 48 virtual void Observe(int type,
49 const content::NotificationSource& source, 49 const content::NotificationSource& source,
50 const content::NotificationDetails& details) OVERRIDE; 50 const content::NotificationDetails& details) override;
51 51
52 // InProcessBrowserTest 52 // InProcessBrowserTest
53 virtual void SetUpCommandLine(base::CommandLine* command_line) OVERRIDE; 53 virtual void SetUpCommandLine(base::CommandLine* command_line) override;
54 54
55 // True if the snapshot differed from the expected value. 55 // True if the snapshot differed from the expected value.
56 bool snapshot_different_; 56 bool snapshot_different_;
57 // Internal variable used to synchronize to the renderer. 57 // Internal variable used to synchronize to the renderer.
58 int next_dummy_search_value_; 58 int next_dummy_search_value_;
59 // The filename of the bitmap to compare the snapshot to. 59 // The filename of the bitmap to compare the snapshot to.
60 std::string expected_filename_; 60 std::string expected_filename_;
61 // If the snapshot is different, holds the location where it's saved. 61 // If the snapshot is different, holds the location where it's saved.
62 base::FilePath snapshot_filename_; 62 base::FilePath snapshot_filename_;
63 // How many times we've seen chrome::LOAD_STOP. 63 // How many times we've seen chrome::LOAD_STOP.
64 int load_stop_notification_count_; 64 int load_stop_notification_count_;
65 65
66 net::test_server::EmbeddedTestServer pdf_test_server_; 66 net::test_server::EmbeddedTestServer pdf_test_server_;
67 67
68 DISALLOW_COPY_AND_ASSIGN(PDFBrowserTest); 68 DISALLOW_COPY_AND_ASSIGN(PDFBrowserTest);
69 }; 69 };
70 70
71 #endif // CHROME_BROWSER_UI_PDF_PDF_BROWSERTEST_BASE_H_ 71 #endif // CHROME_BROWSER_UI_PDF_PDF_BROWSERTEST_BASE_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/pdf/chrome_pdf_web_contents_helper_client.h ('k') | chrome/browser/ui/pdf/pdf_unsupported_feature.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698