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

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

Issue 1549643002: Switch to standard integer types in extensions/browser/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@clean
Patch Set: Created 5 years 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"
11 #include "base/callback.h" 10 #include "base/callback.h"
11 #include "base/macros.h"
12 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
13 #include "content/public/browser/utility_process_host_client.h" 13 #include "content/public/browser/utility_process_host_client.h"
14 #include "extensions/browser/updater/manifest_fetch_data.h" 14 #include "extensions/browser/updater/manifest_fetch_data.h"
15 #include "extensions/common/update_manifest.h" 15 #include "extensions/common/update_manifest.h"
16 16
17 namespace extensions { 17 namespace extensions {
18 18
19 // Utility class to handle doing xml parsing in a sandboxed utility process. 19 // Utility class to handle doing xml parsing in a sandboxed utility process.
20 class SafeManifestParser : public content::UtilityProcessHostClient { 20 class SafeManifestParser : public content::UtilityProcessHostClient {
21 public: 21 public:
(...skipping 23 matching lines...) Expand all
45 45
46 // Should be accessed only on UI thread. 46 // Should be accessed only on UI thread.
47 ResultsCallback results_callback_; 47 ResultsCallback results_callback_;
48 48
49 DISALLOW_COPY_AND_ASSIGN(SafeManifestParser); 49 DISALLOW_COPY_AND_ASSIGN(SafeManifestParser);
50 }; 50 };
51 51
52 } // namespace extensions 52 } // namespace extensions
53 53
54 #endif // EXTENSIONS_BROWSER_UPDATER_SAFE_MANIFEST_PARSER_H_ 54 #endif // EXTENSIONS_BROWSER_UPDATER_SAFE_MANIFEST_PARSER_H_
OLDNEW
« no previous file with comments | « extensions/browser/updater/request_queue_impl.h ('k') | extensions/browser/updater/update_client_config.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698