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

Side by Side Diff: chrome/browser/translate/translate_service.h

Issue 629603002: replace OVERRIDE and FINAL with override and final in chrome/browser/[r-z]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master 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_TRANSLATE_TRANSLATE_SERVICE_H_ 5 #ifndef CHROME_BROWSER_TRANSLATE_TRANSLATE_SERVICE_H_
6 #define CHROME_BROWSER_TRANSLATE_TRANSLATE_SERVICE_H_ 6 #define CHROME_BROWSER_TRANSLATE_TRANSLATE_SERVICE_H_
7 7
8 #include "chrome/browser/web_resource/resource_request_allowed_notifier.h" 8 #include "chrome/browser/web_resource/resource_request_allowed_notifier.h"
9 9
10 class GURL; 10 class GURL;
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 static std::string GetTargetLanguage(PrefService* prefs); 45 static std::string GetTargetLanguage(PrefService* prefs);
46 46
47 // Returns true if the URL can be translated. 47 // Returns true if the URL can be translated.
48 static bool IsTranslatableURL(const GURL& url); 48 static bool IsTranslatableURL(const GURL& url);
49 49
50 private: 50 private:
51 TranslateService(); 51 TranslateService();
52 ~TranslateService(); 52 ~TranslateService();
53 53
54 // ResourceRequestAllowedNotifier::Observer methods. 54 // ResourceRequestAllowedNotifier::Observer methods.
55 virtual void OnResourceRequestsAllowed() OVERRIDE; 55 virtual void OnResourceRequestsAllowed() override;
56 56
57 // Helper class to know if it's allowed to make network resource requests. 57 // Helper class to know if it's allowed to make network resource requests.
58 ResourceRequestAllowedNotifier resource_request_allowed_notifier_; 58 ResourceRequestAllowedNotifier resource_request_allowed_notifier_;
59 }; 59 };
60 60
61 #endif // CHROME_BROWSER_TRANSLATE_TRANSLATE_SERVICE_H_ 61 #endif // CHROME_BROWSER_TRANSLATE_TRANSLATE_SERVICE_H_
OLDNEW
« no previous file with comments | « chrome/browser/translate/translate_manager_render_view_host_unittest.cc ('k') | chrome/browser/undo/bookmark_undo_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698