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

Side by Side Diff: chrome/browser/extensions/extension_bookmarks_module.h

Issue 3859003: FBTF: Even more ctor/virtual deinlining. (Closed) Base URL: http://git.chromium.org/git/chromium.git
Patch Set: Created 10 years, 2 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_EXTENSION_BOOKMARKS_MODULE_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_BOOKMARKS_MODULE_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_BOOKMARKS_MODULE_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_BOOKMARKS_MODULE_H_
7 #pragma once 7 #pragma once
8 8
9 #include <list> 9 #include <list>
10 #include <set> 10 #include <set>
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 virtual void GetQuotaLimitHeuristics( 167 virtual void GetQuotaLimitHeuristics(
168 std::list<QuotaLimitHeuristic*>* heuristics) const; 168 std::list<QuotaLimitHeuristic*>* heuristics) const;
169 virtual bool RunImpl(); 169 virtual bool RunImpl();
170 private: 170 private:
171 DECLARE_EXTENSION_FUNCTION_NAME("bookmarks.update") 171 DECLARE_EXTENSION_FUNCTION_NAME("bookmarks.update")
172 }; 172 };
173 173
174 class BookmarksIOFunction : public BookmarksFunction, 174 class BookmarksIOFunction : public BookmarksFunction,
175 public SelectFileDialog::Listener { 175 public SelectFileDialog::Listener {
176 public: 176 public:
177 BookmarksIOFunction();
178 virtual ~BookmarksIOFunction();
179
177 // Overridden from SelectFileDialog::Listener: 180 // Overridden from SelectFileDialog::Listener:
178 virtual void FileSelected(const FilePath& path, int index, void* params) = 0; 181 virtual void FileSelected(const FilePath& path, int index, void* params) = 0;
179 void MultiFilesSelected(const std::vector<FilePath>& files, void* params); 182 void MultiFilesSelected(const std::vector<FilePath>& files, void* params);
180 void FileSelectionCanceled(void* params); 183 void FileSelectionCanceled(void* params);
181 void SelectFile(SelectFileDialog::Type type); 184 void SelectFile(SelectFileDialog::Type type);
182 185
183 protected: 186 protected:
184 scoped_refptr<SelectFileDialog> select_file_dialog_; 187 scoped_refptr<SelectFileDialog> select_file_dialog_;
185 }; 188 };
186 189
(...skipping 11 matching lines...) Expand all
198 public: 201 public:
199 // Override BookmarkManagerIOFunction. 202 // Override BookmarkManagerIOFunction.
200 bool RunImpl(); 203 bool RunImpl();
201 void FileSelected(const FilePath& path, int index, void* params); 204 void FileSelected(const FilePath& path, int index, void* params);
202 205
203 private: 206 private:
204 DECLARE_EXTENSION_FUNCTION_NAME("bookmarks.export"); 207 DECLARE_EXTENSION_FUNCTION_NAME("bookmarks.export");
205 }; 208 };
206 209
207 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_BOOKMARKS_MODULE_H_ 210 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_BOOKMARKS_MODULE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698