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_WEBSTORE_INSTALLER_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_WEBSTORE_INSTALLER_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_WEBSTORE_INSTALLER_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_WEBSTORE_INSTALLER_H_ |
7 #pragma once | |
8 | 7 |
9 #include <string> | 8 #include <string> |
10 #include <vector> | 9 #include <vector> |
11 | 10 |
12 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
13 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
14 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
15 #include "base/values.h" | 14 #include "base/values.h" |
16 #include "content/public/browser/download_id.h" | 15 #include "content/public/browser/download_id.h" |
17 #include "content/public/browser/download_item.h" | 16 #include "content/public/browser/download_item.h" |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
154 // The DownloadItem is owned by the DownloadManager and is valid from when | 153 // The DownloadItem is owned by the DownloadManager and is valid from when |
155 // OnDownloadStarted is called (with no error) until the DownloadItem | 154 // OnDownloadStarted is called (with no error) until the DownloadItem |
156 // transitions to state REMOVING. | 155 // transitions to state REMOVING. |
157 content::DownloadItem* download_item_; | 156 content::DownloadItem* download_item_; |
158 int flags_; | 157 int flags_; |
159 scoped_ptr<Approval> approval_; | 158 scoped_ptr<Approval> approval_; |
160 GURL download_url_; | 159 GURL download_url_; |
161 }; | 160 }; |
162 | 161 |
163 #endif // CHROME_BROWSER_EXTENSIONS_WEBSTORE_INSTALLER_H_ | 162 #endif // CHROME_BROWSER_EXTENSIONS_WEBSTORE_INSTALLER_H_ |
OLD | NEW |