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

Side by Side Diff: extensions/browser/updater/safe_manifest_parser.h

Issue 622343002: replace OVERRIDE and FINAL with override and final in extensions/ (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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 EXTENSIONS_BROWSER_UPDATER_SAFE_MANIFEST_PARSER_H_ 5 #ifndef EXTENSIONS_BROWSER_UPDATER_SAFE_MANIFEST_PARSER_H_
6 #define EXTENSIONS_BROWSER_UPDATER_SAFE_MANIFEST_PARSER_H_ 6 #define EXTENSIONS_BROWSER_UPDATER_SAFE_MANIFEST_PARSER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 21 matching lines...) Expand all
32 // utility process. 32 // utility process.
33 void Start(); 33 void Start();
34 34
35 private: 35 private:
36 virtual ~SafeManifestParser(); 36 virtual ~SafeManifestParser();
37 37
38 // Creates the sandboxed utility process and tells it to start parsing. 38 // Creates the sandboxed utility process and tells it to start parsing.
39 void ParseInSandbox(); 39 void ParseInSandbox();
40 40
41 // content::UtilityProcessHostClient implementation. 41 // content::UtilityProcessHostClient implementation.
42 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; 42 virtual bool OnMessageReceived(const IPC::Message& message) override;
43 43
44 void OnParseUpdateManifestSucceeded(const UpdateManifest::Results& results); 44 void OnParseUpdateManifestSucceeded(const UpdateManifest::Results& results);
45 void OnParseUpdateManifestFailed(const std::string& error_message); 45 void OnParseUpdateManifestFailed(const std::string& error_message);
46 46
47 const std::string xml_; 47 const std::string xml_;
48 48
49 // Should be accessed only on UI thread. 49 // Should be accessed only on UI thread.
50 scoped_ptr<ManifestFetchData> fetch_data_; 50 scoped_ptr<ManifestFetchData> fetch_data_;
51 UpdateCallback update_callback_; 51 UpdateCallback update_callback_;
52 52
53 DISALLOW_COPY_AND_ASSIGN(SafeManifestParser); 53 DISALLOW_COPY_AND_ASSIGN(SafeManifestParser);
54 }; 54 };
55 55
56 } // namespace extensions 56 } // namespace extensions
57 57
58 #endif // EXTENSIONS_BROWSER_UPDATER_SAFE_MANIFEST_PARSER_H_ 58 #endif // EXTENSIONS_BROWSER_UPDATER_SAFE_MANIFEST_PARSER_H_
OLDNEW
« no previous file with comments | « extensions/browser/test_runtime_api_delegate.h ('k') | extensions/browser/value_store/leveldb_value_store.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698