| OLD | NEW |
| 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 CHROME_BROWSER_EXTENSIONS_UPDATER_SAFE_MANIFEST_PARSER_H_ | 5 #ifndef EXTENSIONS_BROWSER_UPDATER_SAFE_MANIFEST_PARSER_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_UPDATER_SAFE_MANIFEST_PARSER_H_ | 6 #define EXTENSIONS_BROWSER_UPDATER_SAFE_MANIFEST_PARSER_H_ |
| 7 |
| 7 #include <string> | 8 #include <string> |
| 8 | 9 |
| 9 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| 10 #include "base/callback.h" | 11 #include "base/callback.h" |
| 11 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
| 12 #include "content/public/browser/utility_process_host_client.h" | 13 #include "content/public/browser/utility_process_host_client.h" |
| 13 #include "extensions/browser/updater/manifest_fetch_data.h" | 14 #include "extensions/browser/updater/manifest_fetch_data.h" |
| 14 #include "extensions/common/update_manifest.h" | 15 #include "extensions/common/update_manifest.h" |
| 15 | 16 |
| 16 namespace extensions { | 17 namespace extensions { |
| (...skipping 30 matching lines...) Expand all Loading... |
| 47 | 48 |
| 48 // Should be accessed only on UI thread. | 49 // Should be accessed only on UI thread. |
| 49 scoped_ptr<ManifestFetchData> fetch_data_; | 50 scoped_ptr<ManifestFetchData> fetch_data_; |
| 50 UpdateCallback update_callback_; | 51 UpdateCallback update_callback_; |
| 51 | 52 |
| 52 DISALLOW_COPY_AND_ASSIGN(SafeManifestParser); | 53 DISALLOW_COPY_AND_ASSIGN(SafeManifestParser); |
| 53 }; | 54 }; |
| 54 | 55 |
| 55 } // namespace extensions | 56 } // namespace extensions |
| 56 | 57 |
| 57 #endif // CHROME_BROWSER_EXTENSIONS_UPDATER_SAFE_MANIFEST_PARSER_H_ | 58 #endif // EXTENSIONS_BROWSER_UPDATER_SAFE_MANIFEST_PARSER_H_ |
| OLD | NEW |