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

Side by Side Diff: chrome/browser/extensions/api/webview/webview_api.h

Issue 23547011: Move c/b/extension/api/* into extensions namespace (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 7 years, 3 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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_WEBVIEW_WEBVIEW_API_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_WEBVIEW_WEBVIEW_API_H_
6 #define CHROME_BROWSER_EXTENSIONS_API_WEBVIEW_WEBVIEW_API_H_ 6 #define CHROME_BROWSER_EXTENSIONS_API_WEBVIEW_WEBVIEW_API_H_
7 7
8 #include "chrome/browser/extensions/api/execute_code_function.h" 8 #include "chrome/browser/extensions/api/execute_code_function.h"
9 9
10 namespace extensions {
11
10 class WebviewClearDataFunction : public AsyncExtensionFunction { 12 class WebviewClearDataFunction : public AsyncExtensionFunction {
11 public: 13 public:
12 DECLARE_EXTENSION_FUNCTION("webview.clearData", WEBVIEW_CLEARDATA); 14 DECLARE_EXTENSION_FUNCTION("webview.clearData", WEBVIEW_CLEARDATA);
13 15
14 WebviewClearDataFunction(); 16 WebviewClearDataFunction();
15 17
16 protected: 18 protected:
17 virtual ~WebviewClearDataFunction(); 19 virtual ~WebviewClearDataFunction();
18 20
19 // ExtensionFunction implementation. 21 // ExtensionFunction implementation.
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 protected: 165 protected:
164 virtual ~WebviewTerminateFunction(); 166 virtual ~WebviewTerminateFunction();
165 167
166 // ExtensionFunction implementation. 168 // ExtensionFunction implementation.
167 virtual bool RunImpl() OVERRIDE; 169 virtual bool RunImpl() OVERRIDE;
168 170
169 private: 171 private:
170 DISALLOW_COPY_AND_ASSIGN(WebviewTerminateFunction); 172 DISALLOW_COPY_AND_ASSIGN(WebviewTerminateFunction);
171 }; 173 };
172 174
175 } // namespace extensions
176
173 #endif // CHROME_BROWSER_EXTENSIONS_API_WEBVIEW_WEBVIEW_API_H_ 177 #endif // CHROME_BROWSER_EXTENSIONS_API_WEBVIEW_WEBVIEW_API_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/api/terminal/terminal_private_api.cc ('k') | chrome/browser/extensions/api/webview/webview_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698