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

Side by Side Diff: android_webview/common/aw_content_client.h

Issue 893273003: Update {virtual,override,final} to follow C++11 style. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 unified diff | Download patch
« no previous file with comments | « no previous file | android_webview/lib/aw_browser_dependency_factory_impl.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 ANDROID_WEBVIEW_COMMON_AW_CONTENT_CLIENT_H_ 5 #ifndef ANDROID_WEBVIEW_COMMON_AW_CONTENT_CLIENT_H_
6 #define ANDROID_WEBVIEW_COMMON_AW_CONTENT_CLIENT_H_ 6 #define ANDROID_WEBVIEW_COMMON_AW_CONTENT_CLIENT_H_
7 7
8 #include "content/public/common/content_client.h" 8 #include "content/public/common/content_client.h"
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
11 11
12 namespace android_webview { 12 namespace android_webview {
13 13
14 std::string GetUserAgent(); 14 std::string GetUserAgent();
15 15
16 class AwContentClient : public content::ContentClient { 16 class AwContentClient : public content::ContentClient {
17 public: 17 public:
18 // ContentClient implementation. 18 // ContentClient implementation.
19 virtual std::string GetProduct() const override; 19 std::string GetProduct() const override;
20 virtual std::string GetUserAgent() const override; 20 std::string GetUserAgent() const override;
21 virtual base::string16 GetLocalizedString(int message_id) const override; 21 base::string16 GetLocalizedString(int message_id) const override;
22 virtual base::StringPiece GetDataResource( 22 base::StringPiece GetDataResource(
23 int resource_id, 23 int resource_id,
24 ui::ScaleFactor scale_factor) const override; 24 ui::ScaleFactor scale_factor) const override;
25 virtual bool CanSendWhileSwappedOut(const IPC::Message* message) override; 25 bool CanSendWhileSwappedOut(const IPC::Message* message) override;
26 }; 26 };
27 27
28 } // namespace android_webview 28 } // namespace android_webview
29 29
30 #endif // ANDROID_WEBVIEW_COMMON_AW_CONTENT_CLIENT_H_ 30 #endif // ANDROID_WEBVIEW_COMMON_AW_CONTENT_CLIENT_H_
OLDNEW
« no previous file with comments | « no previous file | android_webview/lib/aw_browser_dependency_factory_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698