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_EXTENSION_DOWNLOADER_DELEGATE_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_UPDATER_EXTENSION_DOWNLOADER_DELEGATE_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_UPDATER_EXTENSION_DOWNLOADER_DELEGATE_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_UPDATER_EXTENSION_DOWNLOADER_DELEGATE_H_ |
7 #pragma once | |
8 | 7 |
9 #include <string> | 8 #include <string> |
10 | 9 |
11 #include "base/time.h" | 10 #include "base/time.h" |
12 #include "chrome/browser/extensions/updater/manifest_fetch_data.h" | 11 #include "chrome/browser/extensions/updater/manifest_fetch_data.h" |
13 | 12 |
14 class FilePath; | 13 class FilePath; |
15 class GURL; | 14 class GURL; |
16 | 15 |
17 namespace extensions { | 16 namespace extensions { |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 | 99 |
101 // Invoked to get the current version of extension |id|. Returns false if | 100 // Invoked to get the current version of extension |id|. Returns false if |
102 // that extension is not installed. | 101 // that extension is not installed. |
103 virtual bool GetExtensionExistingVersion(const std::string& id, | 102 virtual bool GetExtensionExistingVersion(const std::string& id, |
104 std::string* version) = 0; | 103 std::string* version) = 0; |
105 }; | 104 }; |
106 | 105 |
107 } // namespace extensions | 106 } // namespace extensions |
108 | 107 |
109 #endif // CHROME_BROWSER_EXTENSIONS_UPDATER_EXTENSION_DOWNLOADER_DELEGATE_H_ | 108 #endif // CHROME_BROWSER_EXTENSIONS_UPDATER_EXTENSION_DOWNLOADER_DELEGATE_H_ |
OLD | NEW |