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

Side by Side Diff: chrome/common/extensions/api/storage/storage_schema_manifest_handler.h

Issue 622373003: Replacing the OVERRIDE with override in chrome/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Resolved Error 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_API_STORAGE_STORAGE_SCHEMA_MANIFEST_HANDLER_H_ 5 #ifndef CHROME_COMMON_EXTENSIONS_API_STORAGE_STORAGE_SCHEMA_MANIFEST_HANDLER_H_
6 #define CHROME_COMMON_EXTENSIONS_API_STORAGE_STORAGE_SCHEMA_MANIFEST_HANDLER_H_ 6 #define CHROME_COMMON_EXTENSIONS_API_STORAGE_STORAGE_SCHEMA_MANIFEST_HANDLER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "extensions/common/manifest_handler.h" 9 #include "extensions/common/manifest_handler.h"
10 10
(...skipping 13 matching lines...) Expand all
24 // Returns the managed storage schema defined for |extension|. 24 // Returns the managed storage schema defined for |extension|.
25 // If the schema is invalid then the Schema returned is invalid too, and 25 // If the schema is invalid then the Schema returned is invalid too, and
26 // the failure reason is stored in |error|. 26 // the failure reason is stored in |error|.
27 // This function does file I/O and must be called on a thread that allows I/O. 27 // This function does file I/O and must be called on a thread that allows I/O.
28 static policy::Schema GetSchema(const Extension* extension, 28 static policy::Schema GetSchema(const Extension* extension,
29 std::string* error); 29 std::string* error);
30 #endif 30 #endif
31 31
32 private: 32 private:
33 // ManifestHandler implementation: 33 // ManifestHandler implementation:
34 virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE; 34 virtual bool Parse(Extension* extension, base::string16* error) override;
35 virtual bool Validate(const Extension* extension, 35 virtual bool Validate(const Extension* extension,
36 std::string* error, 36 std::string* error,
37 std::vector<InstallWarning>* warnings) const OVERRIDE; 37 std::vector<InstallWarning>* warnings) const override;
38 virtual const std::vector<std::string> Keys() const OVERRIDE; 38 virtual const std::vector<std::string> Keys() const override;
39 39
40 DISALLOW_COPY_AND_ASSIGN(StorageSchemaManifestHandler); 40 DISALLOW_COPY_AND_ASSIGN(StorageSchemaManifestHandler);
41 }; 41 };
42 42
43 } // namespace extensions 43 } // namespace extensions
44 44
45 #endif // CHROME_COMMON_EXTENSIONS_API_STORAGE_STORAGE_SCHEMA_MANIFEST_HANDLER_ H_ 45 #endif // CHROME_COMMON_EXTENSIONS_API_STORAGE_STORAGE_SCHEMA_MANIFEST_HANDLER_ H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698