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

Side by Side Diff: chrome/browser/extensions/api/gcd_private/gcd_private_api.h

Issue 434733003: Added function to get list of networks with prefetched passwords. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Thu 07/31/2014 14:34:51.93 Created 6 years, 4 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
« no previous file with comments | « no previous file | chrome/browser/extensions/api/gcd_private/gcd_private_api.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_GCD_PRIVATE_GCD_PRIVATE_API_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_GCD_PRIVATE_GCD_PRIVATE_API_H_
6 #define CHROME_BROWSER_EXTENSIONS_API_GCD_PRIVATE_GCD_PRIVATE_API_H_ 6 #define CHROME_BROWSER_EXTENSIONS_API_GCD_PRIVATE_GCD_PRIVATE_API_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "chrome/browser/extensions/chrome_extension_function.h" 9 #include "chrome/browser/extensions/chrome_extension_function.h"
10 #include "chrome/browser/local_discovery/cloud_device_list_delegate.h" 10 #include "chrome/browser/local_discovery/cloud_device_list_delegate.h"
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 101
102 protected: 102 protected:
103 virtual ~GcdPrivatePrefetchWifiPasswordFunction(); 103 virtual ~GcdPrivatePrefetchWifiPasswordFunction();
104 104
105 // AsyncExtensionFunction overrides. 105 // AsyncExtensionFunction overrides.
106 virtual bool RunAsync() OVERRIDE; 106 virtual bool RunAsync() OVERRIDE;
107 107
108 void OnResponse(bool response); 108 void OnResponse(bool response);
109 }; 109 };
110 110
111 class GcdPrivateGetPrefetchedWifiNameListFunction
112 : public ChromeSyncExtensionFunction {
113 public:
114 DECLARE_EXTENSION_FUNCTION("gcdPrivate.getPrefetchedWifiNameList",
115 GCDPRIVATE_GETPREFETCHEDWIFINAMELIST);
116
117 GcdPrivateGetPrefetchedWifiNameListFunction();
118
119 protected:
120 virtual ~GcdPrivateGetPrefetchedWifiNameListFunction();
121
122 // SyncExtensionFunction overrides.
123 virtual bool RunSync() OVERRIDE;
124 };
125
111 class GcdPrivateEstablishSessionFunction : public ChromeAsyncExtensionFunction { 126 class GcdPrivateEstablishSessionFunction : public ChromeAsyncExtensionFunction {
112 public: 127 public:
113 DECLARE_EXTENSION_FUNCTION("gcdPrivate.establishSession", 128 DECLARE_EXTENSION_FUNCTION("gcdPrivate.establishSession",
114 GCDPRIVATE_ESTABLISHSESSION) 129 GCDPRIVATE_ESTABLISHSESSION)
115 130
116 GcdPrivateEstablishSessionFunction(); 131 GcdPrivateEstablishSessionFunction();
117 132
118 protected: 133 protected:
119 virtual ~GcdPrivateEstablishSessionFunction(); 134 virtual ~GcdPrivateEstablishSessionFunction();
120 135
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 267
253 // AsyncExtensionFunction overrides. 268 // AsyncExtensionFunction overrides.
254 virtual bool RunAsync() OVERRIDE; 269 virtual bool RunAsync() OVERRIDE;
255 270
256 private: 271 private:
257 }; 272 };
258 273
259 } // namespace extensions 274 } // namespace extensions
260 275
261 #endif // CHROME_BROWSER_EXTENSIONS_API_GCD_PRIVATE_GCD_PRIVATE_API_H_ 276 #endif // CHROME_BROWSER_EXTENSIONS_API_GCD_PRIVATE_GCD_PRIVATE_API_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/extensions/api/gcd_private/gcd_private_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698