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

Unified Diff: chrome/browser/extensions/extension_downloads_api_constants.h

Issue 7480046: chrome.experimental.downloads stubs (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: DownloadDelta Created 9 years, 5 months 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/extension_downloads_api_constants.h
diff --git a/chrome/browser/extensions/extension_downloads_api_constants.h b/chrome/browser/extensions/extension_downloads_api_constants.h
new file mode 100644
index 0000000000000000000000000000000000000000..e6a73151deb386cc9ae1ab73eac624d3b0f3e3d8
--- /dev/null
+++ b/chrome/browser/extensions/extension_downloads_api_constants.h
@@ -0,0 +1,17 @@
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+#ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_DOWNLOADS_API_CONSTANTS_H_
Mihai Parparita -not on Chrome 2011/08/09 19:51:42 Nit: This file could use some empty lines to help
benjhayden 2011/08/09 20:59:50 Done.
+#define CHROME_BROWSER_EXTENSIONS_EXTENSION_DOWNLOADS_API_CONSTANTS_H_
+#pragma once
+namespace extension_downloads_api_constants {
+extern const char kNotImplemented[];
+extern const char kGenericError[];
+extern const char kUrlKey[];
+extern const char kFilenameKey[];
+extern const char kSaveAsKey[];
+extern const char kMethodKey[];
+extern const char kHeadersKey[];
+extern const char kBodyKey[];
+} // namespace extension_downloads_api_constants
+#endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_DOWNLOADS_API_CONSTANTS_H_

Powered by Google App Engine
This is Rietveld 408576698