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

Side by Side Diff: chrome/browser/chromeos/extensions/file_manager/private_api_strings.h

Issue 252653002: Rename (Chrome)SyncExtensionFunction::RunImpl to RunSync so that the RunImpl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix bookmarks Created 6 years, 7 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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 // This file only provides getStrings() as the .cc file for it is big. 5 // This file only provides getStrings() as the .cc file for it is big.
6 6
7 #ifndef CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_PRIVATE_API_STRINGS_H_ 7 #ifndef CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_PRIVATE_API_STRINGS_H_
8 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_PRIVATE_API_STRINGS_H_ 8 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_PRIVATE_API_STRINGS_H_
9 9
10 #include "chrome/browser/extensions/chrome_extension_function.h" 10 #include "chrome/browser/extensions/chrome_extension_function.h"
11 11
12 namespace extensions { 12 namespace extensions {
13 13
14 // Implements the chrome.fileBrowserPrivate.getStrings method. 14 // Implements the chrome.fileBrowserPrivate.getStrings method.
15 // Used to get strings for the file manager from JavaScript. 15 // Used to get strings for the file manager from JavaScript.
16 class FileBrowserPrivateGetStringsFunction 16 class FileBrowserPrivateGetStringsFunction
17 : public ChromeSyncExtensionFunction { 17 : public ChromeSyncExtensionFunction {
18 public: 18 public:
19 DECLARE_EXTENSION_FUNCTION("fileBrowserPrivate.getStrings", 19 DECLARE_EXTENSION_FUNCTION("fileBrowserPrivate.getStrings",
20 FILEBROWSERPRIVATE_GETSTRINGS) 20 FILEBROWSERPRIVATE_GETSTRINGS)
21 21
22 FileBrowserPrivateGetStringsFunction(); 22 FileBrowserPrivateGetStringsFunction();
23 23
24 protected: 24 protected:
25 virtual ~FileBrowserPrivateGetStringsFunction(); 25 virtual ~FileBrowserPrivateGetStringsFunction();
26 26
27 // SyncExtensionFunction overrides. 27 // SyncExtensionFunction overrides.
28 virtual bool RunImpl() OVERRIDE; 28 virtual bool RunSync() OVERRIDE;
29 }; 29 };
30 30
31 } // namespace extensions 31 } // namespace extensions
32 32
33 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_PRIVATE_API_STRINGS_H _ 33 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_PRIVATE_API_STRINGS_H _
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698