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

Side by Side Diff: chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_api.h

Issue 843023002: [Smart Lock] Add a private API to show an error bubble anchored to the Smart Lock app window. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_EASY_UNLOCK_PRIVATE_EASY_UNLOCK_PRIVATE_AP I_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_EASY_UNLOCK_PRIVATE_EASY_UNLOCK_PRIVATE_AP I_H_
6 #define CHROME_BROWSER_EXTENSIONS_API_EASY_UNLOCK_PRIVATE_EASY_UNLOCK_PRIVATE_AP I_H_ 6 #define CHROME_BROWSER_EXTENSIONS_API_EASY_UNLOCK_PRIVATE_EASY_UNLOCK_PRIVATE_AP I_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after
340 340
341 private: 341 private:
342 ~EasyUnlockPrivateGetUserImageFunction() override; 342 ~EasyUnlockPrivateGetUserImageFunction() override;
343 343
344 // SyncExtensionFunction: 344 // SyncExtensionFunction:
345 bool RunSync() override; 345 bool RunSync() override;
346 346
347 DISALLOW_COPY_AND_ASSIGN(EasyUnlockPrivateGetUserImageFunction); 347 DISALLOW_COPY_AND_ASSIGN(EasyUnlockPrivateGetUserImageFunction);
348 }; 348 };
349 349
350 class EasyUnlockPrivateShowErrorBubbleFunction : public SyncExtensionFunction {
351 public:
352 DECLARE_EXTENSION_FUNCTION("easyUnlockPrivate.showErrorBubble",
353 EASYUNLOCKPRIVATE_SHOWERRORBUBBLE)
354 EasyUnlockPrivateShowErrorBubbleFunction();
355
356 private:
357 ~EasyUnlockPrivateShowErrorBubbleFunction() override;
358
359 // SyncExtensionFunction:
360 bool RunSync() override;
361
362 DISALLOW_COPY_AND_ASSIGN(EasyUnlockPrivateShowErrorBubbleFunction);
363 };
364
350 } // namespace api 365 } // namespace api
351 } // namespace extensions 366 } // namespace extensions
352 367
353 #endif // CHROME_BROWSER_EXTENSIONS_API_EASY_UNLOCK_PRIVATE_EASY_UNLOCK_PRIVATE _API_H_ 368 #endif // CHROME_BROWSER_EXTENSIONS_API_EASY_UNLOCK_PRIVATE_EASY_UNLOCK_PRIVATE _API_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698