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

Side by Side Diff: chrome/common/extensions/api/file_browser_handlers/file_browser_handler.h

Issue 653773004: Standardize usage of virtual/override/final in chrome/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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_FILE_BROWSER_HANDLERS_FILE_BROWSER_HANDLER_ H_ 5 #ifndef CHROME_COMMON_EXTENSIONS_API_FILE_BROWSER_HANDLERS_FILE_BROWSER_HANDLER_ H_
6 #define CHROME_COMMON_EXTENSIONS_API_FILE_BROWSER_HANDLERS_FILE_BROWSER_HANDLER_ H_ 6 #define CHROME_COMMON_EXTENSIONS_API_FILE_BROWSER_HANDLERS_FILE_BROWSER_HANDLER_ H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 unsigned int file_access_permission_flags_; 82 unsigned int file_access_permission_flags_;
83 83
84 // A list of file filters. 84 // A list of file filters.
85 extensions::URLPatternSet url_set_; 85 extensions::URLPatternSet url_set_;
86 }; 86 };
87 87
88 // Parses the "file_browser_handlers" extension manifest key. 88 // Parses the "file_browser_handlers" extension manifest key.
89 class FileBrowserHandlerParser : public extensions::ManifestHandler { 89 class FileBrowserHandlerParser : public extensions::ManifestHandler {
90 public: 90 public:
91 FileBrowserHandlerParser(); 91 FileBrowserHandlerParser();
92 virtual ~FileBrowserHandlerParser(); 92 ~FileBrowserHandlerParser() override;
93 93
94 virtual bool Parse(extensions::Extension* extension, 94 bool Parse(extensions::Extension* extension, base::string16* error) override;
95 base::string16* error) override;
96 95
97 private: 96 private:
98 virtual const std::vector<std::string> Keys() const override; 97 const std::vector<std::string> Keys() const override;
99 }; 98 };
100 99
101 #endif // CHROME_COMMON_EXTENSIONS_API_FILE_BROWSER_HANDLERS_FILE_BROWSER_HANDL ER_H_ 100 #endif // CHROME_COMMON_EXTENSIONS_API_FILE_BROWSER_HANDLERS_FILE_BROWSER_HANDL ER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698