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

Side by Side Diff: chrome/browser/download/download_extension_api_constants.h

Issue 8451019: Move download extension api implementation to download/ dir. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_EXTENSION_DOWNLOADS_API_CONSTANTS_H_ 5 #ifndef CHROME_BROWSER_DOWNLOAD_DOWNLOAD_EXTENSION_API_CONSTANTS_H_
Aaron Boodman 2011/11/04 05:38:12 Can you move these constants into download_extensi
tfarina 2011/11/04 08:41:03 Done.
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_DOWNLOADS_API_CONSTANTS_H_ 6 #define CHROME_BROWSER_DOWNLOAD_DOWNLOAD_EXTENSION_API_CONSTANTS_H_
7 #pragma once 7 #pragma once
8 8
9 #include "content/browser/download/download_item.h" 9 #include "content/browser/download/download_item.h"
10 10
11 namespace extension_downloads_api_constants { 11 namespace download_extension_api_constants {
12 12
13 // Error messages 13 // Error messages
14 extern const char kNotImplemented[]; 14 extern const char kNotImplemented[];
15 extern const char kGenericError[]; 15 extern const char kGenericError[];
16 extern const char kInvalidURL[]; 16 extern const char kInvalidURL[];
17 17
18 // Parameter keys 18 // Parameter keys
19 extern const char kBodyKey[]; 19 extern const char kBodyKey[];
20 extern const char kBytesReceivedKey[]; 20 extern const char kBytesReceivedKey[];
21 extern const char kDangerAcceptedKey[]; 21 extern const char kDangerAcceptedKey[];
(...skipping 18 matching lines...) Expand all
40 extern const char kStateInProgress[]; 40 extern const char kStateInProgress[];
41 extern const char kStateInterrupted[]; 41 extern const char kStateInterrupted[];
42 extern const char kStateKey[]; 42 extern const char kStateKey[];
43 extern const char kTotalBytesKey[]; 43 extern const char kTotalBytesKey[];
44 extern const char kUrlKey[]; 44 extern const char kUrlKey[];
45 45
46 const char* DangerString(DownloadItem::DangerType danger); 46 const char* DangerString(DownloadItem::DangerType danger);
47 47
48 const char* StateString(DownloadItem::DownloadState state); 48 const char* StateString(DownloadItem::DownloadState state);
49 49
50 } // namespace extension_downloads_api_constants 50 } // namespace download_extension_api_constants
51 51
52 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_DOWNLOADS_API_CONSTANTS_H_ 52 #endif // CHROME_BROWSER_DOWNLOAD_DOWNLOAD_EXTENSION_API_CONSTANTS_H_
OLDNEW
« no previous file with comments | « chrome/browser/download/download_extension_api.cc ('k') | chrome/browser/download/download_extension_api_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698