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

Side by Side Diff: chrome/browser/extensions/api/webstore_private/webstore_private_api.h

Issue 196783002: Export a private webstore API to call into the new inline sign-in flow. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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_API_WEBSTORE_PRIVATE_WEBSTORE_PRIVATE_API_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_WEBSTORE_PRIVATE_WEBSTORE_PRIVATE_API_H_
6 #define CHROME_BROWSER_EXTENSIONS_API_WEBSTORE_PRIVATE_WEBSTORE_PRIVATE_API_H_ 6 #define CHROME_BROWSER_EXTENSIONS_API_WEBSTORE_PRIVATE_WEBSTORE_PRIVATE_API_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "chrome/browser/extensions/bundle_installer.h" 10 #include "chrome/browser/extensions/bundle_installer.h"
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after
297 297
298 WebstorePrivateIsInIncognitoModeFunction() {} 298 WebstorePrivateIsInIncognitoModeFunction() {}
299 299
300 protected: 300 protected:
301 virtual ~WebstorePrivateIsInIncognitoModeFunction() {} 301 virtual ~WebstorePrivateIsInIncognitoModeFunction() {}
302 302
303 // ExtensionFunction: 303 // ExtensionFunction:
304 virtual bool RunImpl() OVERRIDE; 304 virtual bool RunImpl() OVERRIDE;
305 }; 305 };
306 306
307 class WebstorePrivateSignInFunction : public ChromeAsyncExtensionFunction {
308 public:
309 DECLARE_EXTENSION_FUNCTION("webstorePrivate.signIn",
310 WEBSTOREPRIVATE_SIGNINFUNCTION)
311
312 WebstorePrivateSignInFunction() {}
313
314 protected:
315 virtual ~WebstorePrivateSignInFunction() {}
316
317 // ExtensionFunction:
318 virtual bool RunImpl() OVERRIDE;
319 };
320
307 } // namespace extensions 321 } // namespace extensions
308 322
309 #endif // CHROME_BROWSER_EXTENSIONS_API_WEBSTORE_PRIVATE_WEBSTORE_PRIVATE_API_H _ 323 #endif // CHROME_BROWSER_EXTENSIONS_API_WEBSTORE_PRIVATE_WEBSTORE_PRIVATE_API_H _
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698