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

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

Issue 6683060: Private API for extensions like ssh-client that need access to TCP. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 9 years, 9 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_internal_auth_api.h
diff --git a/chrome/browser/extensions/extension_internal_auth_api.h b/chrome/browser/extensions/extension_internal_auth_api.h
new file mode 100644
index 0000000000000000000000000000000000000000..764f1a365f9ae18b5f15710116e89239baf242e2
--- /dev/null
+++ b/chrome/browser/extensions/extension_internal_auth_api.h
@@ -0,0 +1,20 @@
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
Aaron Boodman 2011/03/29 18:38:34 Doesn't there need to be a change to extensions_ap
Denis Lagno 2011/04/04 18:18:02 Done.
+// 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_INTERNAL_AUTH_API_H_
+#define CHROME_BROWSER_EXTENSIONS_EXTENSION_INTERNAL_AUTH_API_H_
+#pragma once
+
+#include "chrome/browser/extensions/extension_function.h"
+
+class InternalAuthGetTokenFunction : public SyncExtensionFunction {
+ private:
+ // ExtensionFunction implementation.
+ virtual ~InternalAuthGetTokenFunction() {}
+ virtual bool RunImpl();
+
+ DECLARE_EXTENSION_FUNCTION_NAME("internalAuth.getToken")
+};
+
+#endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_INTERNAL_AUTH_API_H_

Powered by Google App Engine
This is Rietveld 408576698