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

Side by Side Diff: content/test/test_content_browser_client.h

Issue 630813002: Replace OVERRIDE and FINAL with override and final in content/test/[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
« no previous file with comments | « content/test/test_blink_web_unit_test_support.h ('k') | content/test/test_content_client.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef CONTENT_TEST_TEST_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CONTENT_TEST_TEST_CONTENT_BROWSER_CLIENT_H_
6 #define CONTENT_TEST_TEST_CONTENT_BROWSER_CLIENT_H_ 6 #define CONTENT_TEST_TEST_CONTENT_BROWSER_CLIENT_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "base/files/scoped_temp_dir.h" 12 #include "base/files/scoped_temp_dir.h"
13 #include "content/public/browser/content_browser_client.h" 13 #include "content/public/browser/content_browser_client.h"
14 14
15 namespace content { 15 namespace content {
16 16
17 // Base for unit tests that need a ContentBrowserClient. 17 // Base for unit tests that need a ContentBrowserClient.
18 class TestContentBrowserClient : public ContentBrowserClient { 18 class TestContentBrowserClient : public ContentBrowserClient {
19 public: 19 public:
20 TestContentBrowserClient(); 20 TestContentBrowserClient();
21 virtual ~TestContentBrowserClient(); 21 virtual ~TestContentBrowserClient();
22 virtual base::FilePath GetDefaultDownloadDirectory() OVERRIDE; 22 virtual base::FilePath GetDefaultDownloadDirectory() override;
23 23
24 private: 24 private:
25 // Temporary directory for GetDefaultDownloadDirectory. 25 // Temporary directory for GetDefaultDownloadDirectory.
26 base::ScopedTempDir download_dir_; 26 base::ScopedTempDir download_dir_;
27 27
28 DISALLOW_COPY_AND_ASSIGN(TestContentBrowserClient); 28 DISALLOW_COPY_AND_ASSIGN(TestContentBrowserClient);
29 }; 29 };
30 30
31 } // namespace content 31 } // namespace content
32 32
33 #endif // CONTENT_TEST_TEST_CONTENT_BROWSER_CLIENT_H_ 33 #endif // CONTENT_TEST_TEST_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « content/test/test_blink_web_unit_test_support.h ('k') | content/test/test_content_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698