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

Side by Side Diff: chrome/browser/extensions/api/downloads_internal/downloads_internal_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
« no previous file with comments | « no previous file | chrome/browser/extensions/api/downloads_internal/downloads_internal_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 (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_DOWNLOADS_INTERNAL_DOWNLOADS_INTERNAL_API_ H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_DOWNLOADS_INTERNAL_DOWNLOADS_INTERNAL_API_ H_
6 #define CHROME_BROWSER_EXTENSIONS_API_DOWNLOADS_INTERNAL_DOWNLOADS_INTERNAL_API_ H_ 6 #define CHROME_BROWSER_EXTENSIONS_API_DOWNLOADS_INTERNAL_DOWNLOADS_INTERNAL_API_ H_
7 7
8 #include "chrome/browser/extensions/extension_function.h" 8 #include "chrome/browser/extensions/extension_function.h"
9 9
10 namespace extensions {
11
10 class DownloadsInternalDetermineFilenameFunction 12 class DownloadsInternalDetermineFilenameFunction
11 : public AsyncExtensionFunction { 13 : public AsyncExtensionFunction {
12 public: 14 public:
13 DECLARE_EXTENSION_FUNCTION("downloadsInternal.determineFilename", 15 DECLARE_EXTENSION_FUNCTION("downloadsInternal.determineFilename",
14 DOWNLOADSINTERNAL_DETERMINEFILENAME); 16 DOWNLOADSINTERNAL_DETERMINEFILENAME);
15 DownloadsInternalDetermineFilenameFunction(); 17 DownloadsInternalDetermineFilenameFunction();
16 virtual bool RunImpl() OVERRIDE; 18 virtual bool RunImpl() OVERRIDE;
17 19
18 protected: 20 protected:
19 virtual ~DownloadsInternalDetermineFilenameFunction(); 21 virtual ~DownloadsInternalDetermineFilenameFunction();
20 22
21 private: 23 private:
22 DISALLOW_COPY_AND_ASSIGN(DownloadsInternalDetermineFilenameFunction); 24 DISALLOW_COPY_AND_ASSIGN(DownloadsInternalDetermineFilenameFunction);
23 }; 25 };
24 26
27 } // namespace extensions
25 #endif // CHROME_BROWSER_EXTENSIONS_API_DOWNLOADS_INTERNAL_DOWNLOADS_INTERNAL_A PI_H_ 28 #endif // CHROME_BROWSER_EXTENSIONS_API_DOWNLOADS_INTERNAL_DOWNLOADS_INTERNAL_A PI_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/extensions/api/downloads_internal/downloads_internal_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698