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

Side by Side Diff: android_webview/browser/aw_browser_main_parts.h

Issue 623833003: replace OVERRIDE and FINAL with override and final in android_webview/ (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 #ifndef ANDROID_WEBVIEW_BROWSER_AW_BROWSER_MAIN_PARTS_H_ 5 #ifndef ANDROID_WEBVIEW_BROWSER_AW_BROWSER_MAIN_PARTS_H_
6 #define ANDROID_WEBVIEW_BROWSER_AW_BROWSER_MAIN_PARTS_H_ 6 #define ANDROID_WEBVIEW_BROWSER_AW_BROWSER_MAIN_PARTS_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "content/public/browser/browser_main_parts.h" 10 #include "content/public/browser/browser_main_parts.h"
11 11
12 namespace base { 12 namespace base {
13 class MessageLoop; 13 class MessageLoop;
14 } 14 }
15 15
16 namespace android_webview { 16 namespace android_webview {
17 17
18 class AwBrowserContext; 18 class AwBrowserContext;
19 19
20 class AwBrowserMainParts : public content::BrowserMainParts { 20 class AwBrowserMainParts : public content::BrowserMainParts {
21 public: 21 public:
22 explicit AwBrowserMainParts(AwBrowserContext* browser_context); 22 explicit AwBrowserMainParts(AwBrowserContext* browser_context);
23 virtual ~AwBrowserMainParts(); 23 virtual ~AwBrowserMainParts();
24 24
25 // Overriding methods from content::BrowserMainParts. 25 // Overriding methods from content::BrowserMainParts.
26 virtual void PreEarlyInitialization() OVERRIDE; 26 virtual void PreEarlyInitialization() override;
27 virtual int PreCreateThreads() OVERRIDE; 27 virtual int PreCreateThreads() override;
28 virtual void PreMainMessageLoopRun() OVERRIDE; 28 virtual void PreMainMessageLoopRun() override;
29 virtual bool MainMessageLoopRun(int* result_code) OVERRIDE; 29 virtual bool MainMessageLoopRun(int* result_code) override;
30 30
31 private: 31 private:
32 // Android specific UI MessageLoop. 32 // Android specific UI MessageLoop.
33 scoped_ptr<base::MessageLoop> main_message_loop_; 33 scoped_ptr<base::MessageLoop> main_message_loop_;
34 34
35 AwBrowserContext* browser_context_; // weak 35 AwBrowserContext* browser_context_; // weak
36 36
37 DISALLOW_COPY_AND_ASSIGN(AwBrowserMainParts); 37 DISALLOW_COPY_AND_ASSIGN(AwBrowserMainParts);
38 }; 38 };
39 39
40 } // namespace android_webview 40 } // namespace android_webview
41 41
42 #endif // ANDROID_WEBVIEW_BROWSER_AW_BROWSER_MAIN_PARTS_H_ 42 #endif // ANDROID_WEBVIEW_BROWSER_AW_BROWSER_MAIN_PARTS_H_
OLDNEW
« no previous file with comments | « android_webview/browser/aw_browser_context.h ('k') | android_webview/browser/aw_content_browser_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698