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: chrome/common/extensions/permissions/chrome_permission_message_provider.h

Issue 644903002: Replacing the OVERRIDE with override and in chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Extrafile added 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_COMMON_EXTENSIONS_PERMISSIONS_CHROME_PERMISSION_MESSAGE_PROVIDER_ H_ 5 #ifndef CHROME_COMMON_EXTENSIONS_PERMISSIONS_CHROME_PERMISSION_MESSAGE_PROVIDER_ H_
6 #define CHROME_COMMON_EXTENSIONS_PERMISSIONS_CHROME_PERMISSION_MESSAGE_PROVIDER_ H_ 6 #define CHROME_COMMON_EXTENSIONS_PERMISSIONS_CHROME_PERMISSION_MESSAGE_PROVIDER_ H_
7 7
8 #include <set> 8 #include <set>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 10 matching lines...) Expand all
21 // integration test that ensures messages are correctly generated for 21 // integration test that ensures messages are correctly generated for
22 // extensions created through the extension system. 22 // extensions created through the extension system.
23 class ChromePermissionMessageProvider : public PermissionMessageProvider { 23 class ChromePermissionMessageProvider : public PermissionMessageProvider {
24 public: 24 public:
25 ChromePermissionMessageProvider(); 25 ChromePermissionMessageProvider();
26 virtual ~ChromePermissionMessageProvider(); 26 virtual ~ChromePermissionMessageProvider();
27 27
28 // PermissionMessageProvider implementation. 28 // PermissionMessageProvider implementation.
29 virtual PermissionMessages GetPermissionMessages( 29 virtual PermissionMessages GetPermissionMessages(
30 const PermissionSet* permissions, 30 const PermissionSet* permissions,
31 Manifest::Type extension_type) const OVERRIDE; 31 Manifest::Type extension_type) const override;
32 virtual std::vector<base::string16> GetWarningMessages( 32 virtual std::vector<base::string16> GetWarningMessages(
33 const PermissionSet* permissions, 33 const PermissionSet* permissions,
34 Manifest::Type extension_type) const OVERRIDE; 34 Manifest::Type extension_type) const override;
35 virtual std::vector<base::string16> GetWarningMessagesDetails( 35 virtual std::vector<base::string16> GetWarningMessagesDetails(
36 const PermissionSet* permissions, 36 const PermissionSet* permissions,
37 Manifest::Type extension_type) const OVERRIDE; 37 Manifest::Type extension_type) const override;
38 virtual bool IsPrivilegeIncrease( 38 virtual bool IsPrivilegeIncrease(
39 const PermissionSet* old_permissions, 39 const PermissionSet* old_permissions,
40 const PermissionSet* new_permissions, 40 const PermissionSet* new_permissions,
41 Manifest::Type extension_type) const OVERRIDE; 41 Manifest::Type extension_type) const override;
42 42
43 private: 43 private:
44 // Gets the permission messages for the API permissions. 44 // Gets the permission messages for the API permissions.
45 std::set<PermissionMessage> GetAPIPermissionMessages( 45 std::set<PermissionMessage> GetAPIPermissionMessages(
46 const PermissionSet* permissions) const; 46 const PermissionSet* permissions) const;
47 47
48 // Gets the permission messages for the Manifest permissions. 48 // Gets the permission messages for the Manifest permissions.
49 std::set<PermissionMessage> GetManifestPermissionMessages( 49 std::set<PermissionMessage> GetManifestPermissionMessages(
50 const PermissionSet* permissions) const; 50 const PermissionSet* permissions) const;
51 51
(...skipping 20 matching lines...) Expand all
72 const PermissionSet* old_permissions, 72 const PermissionSet* old_permissions,
73 const PermissionSet* new_permissions, 73 const PermissionSet* new_permissions,
74 Manifest::Type extension_type) const; 74 Manifest::Type extension_type) const;
75 75
76 DISALLOW_COPY_AND_ASSIGN(ChromePermissionMessageProvider); 76 DISALLOW_COPY_AND_ASSIGN(ChromePermissionMessageProvider);
77 }; 77 };
78 78
79 } // namespace extensions 79 } // namespace extensions
80 80
81 #endif // CHROME_COMMON_EXTENSIONS_PERMISSIONS_CHROME_PERMISSION_MESSAGE_PROVID ER_H_ 81 #endif // CHROME_COMMON_EXTENSIONS_PERMISSIONS_CHROME_PERMISSION_MESSAGE_PROVID ER_H_
OLDNEW
« no previous file with comments | « chrome/common/extensions/manifest_handlers/ui_overrides_handler.h ('k') | chrome/plugin/chrome_content_plugin_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698