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

Unified Diff: chrome/browser/download/save_page_browsertest.cc

Issue 12212048: Linux/ChromeOS Chromium style checker cleanup, chrome/browser edition. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 7 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/download/save_page_browsertest.cc
===================================================================
--- chrome/browser/download/save_page_browsertest.cc (revision 181040)
+++ chrome/browser/download/save_page_browsertest.cc (working copy)
@@ -86,7 +86,7 @@
}
virtual void OnDownloadStored(DownloadItem* item,
- const history::DownloadRow& info) {
+ const history::DownloadRow& info) OVERRIDE {
persisted_ = filter_.Run(item, info);
if (persisted_ && waiting_)
MessageLoopForUI::current()->Quit();
@@ -123,10 +123,10 @@
}
virtual void OnDownloadStored(DownloadItem* item,
- const history::DownloadRow& info) {
+ const history::DownloadRow& info) OVERRIDE {
}
- virtual void OnDownloadsRemoved(const DownloadHistory::IdSet& ids) {
+ virtual void OnDownloadsRemoved(const DownloadHistory::IdSet& ids) OVERRIDE {
removed_ = ids.find(download_id_) != ids.end();
if (removed_ && waiting_)
MessageLoopForUI::current()->Quit();
@@ -195,7 +195,7 @@
manager->AddObserver(this);
}
- ~DownloadItemCreatedObserver() {
+ virtual ~DownloadItemCreatedObserver() {
if (manager_)
manager_->RemoveObserver(this);
}
@@ -284,13 +284,13 @@
virtual ~SavePageBrowserTest();
protected:
- void SetUp() OVERRIDE {
+ virtual void SetUp() OVERRIDE {
ASSERT_TRUE(PathService::Get(chrome::DIR_TEST_DATA, &test_dir_));
ASSERT_TRUE(save_dir_.CreateUniqueTempDir());
InProcessBrowserTest::SetUp();
}
- void SetUpOnMainThread() OVERRIDE {
+ virtual void SetUpOnMainThread() OVERRIDE {
browser()->profile()->GetPrefs()->SetFilePath(
prefs::kDownloadDefaultDirectory, save_dir_.path());
BrowserThread::PostTask(

Powered by Google App Engine
This is Rietveld 408576698