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

Side by Side Diff: chrome/common/extensions/manifest_handlers/ui_overrides_handler.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_MANIFEST_HANDLERS_UI_OVERRIDES_HANDLER_H_ 5 #ifndef CHROME_COMMON_EXTENSIONS_MANIFEST_HANDLERS_UI_OVERRIDES_HANDLER_H_
6 #define CHROME_COMMON_EXTENSIONS_MANIFEST_HANDLERS_UI_OVERRIDES_HANDLER_H_ 6 #define CHROME_COMMON_EXTENSIONS_MANIFEST_HANDLERS_UI_OVERRIDES_HANDLER_H_
7 7
8 #include "chrome/common/extensions/api/manifest_types.h" 8 #include "chrome/common/extensions/api/manifest_types.h"
9 #include "extensions/common/extension.h" 9 #include "extensions/common/extension.h"
10 #include "extensions/common/manifest_handler.h" 10 #include "extensions/common/manifest_handler.h"
(...skipping 21 matching lines...) Expand all
32 32
33 private: 33 private:
34 DISALLOW_COPY_AND_ASSIGN(UIOverrides); 34 DISALLOW_COPY_AND_ASSIGN(UIOverrides);
35 }; 35 };
36 36
37 class UIOverridesHandler : public ManifestHandler { 37 class UIOverridesHandler : public ManifestHandler {
38 public: 38 public:
39 UIOverridesHandler(); 39 UIOverridesHandler();
40 virtual ~UIOverridesHandler(); 40 virtual ~UIOverridesHandler();
41 41
42 virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE; 42 virtual bool Parse(Extension* extension, base::string16* error) override;
43 virtual bool Validate(const Extension* extension, 43 virtual bool Validate(const Extension* extension,
44 std::string* error, 44 std::string* error,
45 std::vector<InstallWarning>* warnings) const OVERRIDE; 45 std::vector<InstallWarning>* warnings) const override;
46 46
47 virtual ManifestPermission* CreatePermission() OVERRIDE; 47 virtual ManifestPermission* CreatePermission() override;
48 virtual ManifestPermission* CreateInitialRequiredPermission( 48 virtual ManifestPermission* CreateInitialRequiredPermission(
49 const Extension* extension) OVERRIDE; 49 const Extension* extension) override;
50 50
51 private: 51 private:
52 class ManifestPermissionImpl; 52 class ManifestPermissionImpl;
53 53
54 virtual const std::vector<std::string> Keys() const OVERRIDE; 54 virtual const std::vector<std::string> Keys() const override;
55 55
56 DISALLOW_COPY_AND_ASSIGN(UIOverridesHandler); 56 DISALLOW_COPY_AND_ASSIGN(UIOverridesHandler);
57 }; 57 };
58 58
59 } // namespace extensions 59 } // namespace extensions
60 #endif // CHROME_COMMON_EXTENSIONS_MANIFEST_HANDLERS_UI_OVERRIDES_HANDLER_H_ 60 #endif // CHROME_COMMON_EXTENSIONS_MANIFEST_HANDLERS_UI_OVERRIDES_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698