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

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

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.cc
diff --git a/chrome/browser/extensions/extension_downloads_api_constants.cc b/chrome/browser/extensions/extension_downloads_api_constants.cc
new file mode 100644
index 0000000000000000000000000000000000000000..98803b7ce1e877e9b79f3c67f59c16e62b22b526
--- /dev/null
+++ b/chrome/browser/extensions/extension_downloads_api_constants.cc
@@ -0,0 +1,14 @@
+// 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.
+#include "chrome/browser/extensions/extension_downloads_api_constants.h"
Mihai Parparita -not on Chrome 2011/08/09 19:51:42 Ditto about more empty lines.
benjhayden 2011/08/09 20:59:50 Done.
+namespace extension_downloads_api_constants {
+const char kNotImplemented[] = "NotImplemented";
+const char kGenericError[] = "I'm afraid I can't do that.";
+const char kUrlKey[] = "url";
+const char kFilenameKey[] = "filename";
+const char kSaveAsKey[] = "save_as";
Mihai Parparita -not on Chrome 2011/08/09 19:51:42 I think this is saveAs in extension_api.json now.
benjhayden 2011/08/09 20:59:50 Done.
+const char kMethodKey[] = "method";
+const char kHeadersKey[] = "headers";
+const char kBodyKey[] = "body";
+} // namespace extension_downloads_api_constants

Powered by Google App Engine
This is Rietveld 408576698