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

Side by Side Diff: chrome/browser/bookmarks/bookmark_extension_api.h

Issue 8612007: Add OVERRIDE to chrome/browser/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_BOOKMARKS_BOOKMARK_EXTENSION_API_H_ 5 #ifndef CHROME_BROWSER_BOOKMARKS_BOOKMARK_EXTENSION_API_H_
6 #define CHROME_BROWSER_BOOKMARKS_BOOKMARK_EXTENSION_API_H_ 6 #define CHROME_BROWSER_BOOKMARKS_BOOKMARK_EXTENSION_API_H_
7 #pragma once 7 #pragma once
8 8
9 #include <list> 9 #include <list>
10 #include <set> 10 #include <set>
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 private: 185 private:
186 DECLARE_EXTENSION_FUNCTION_NAME("bookmarks.move") 186 DECLARE_EXTENSION_FUNCTION_NAME("bookmarks.move")
187 }; 187 };
188 188
189 class UpdateBookmarkFunction : public BookmarksFunction { 189 class UpdateBookmarkFunction : public BookmarksFunction {
190 public: 190 public:
191 static bool ExtractIds(const base::ListValue* args, std::list<int64>* ids, 191 static bool ExtractIds(const base::ListValue* args, std::list<int64>* ids,
192 bool* invalid_id); 192 bool* invalid_id);
193 virtual void GetQuotaLimitHeuristics( 193 virtual void GetQuotaLimitHeuristics(
194 QuotaLimitHeuristics* heuristics) const OVERRIDE; 194 QuotaLimitHeuristics* heuristics) const OVERRIDE;
195 virtual bool RunImpl(); 195 virtual bool RunImpl() OVERRIDE;
196 private: 196 private:
197 DECLARE_EXTENSION_FUNCTION_NAME("bookmarks.update") 197 DECLARE_EXTENSION_FUNCTION_NAME("bookmarks.update")
198 }; 198 };
199 199
200 class BookmarksIOFunction : public BookmarksFunction, 200 class BookmarksIOFunction : public BookmarksFunction,
201 public SelectFileDialog::Listener { 201 public SelectFileDialog::Listener {
202 public: 202 public:
203 BookmarksIOFunction(); 203 BookmarksIOFunction();
204 virtual ~BookmarksIOFunction(); 204 virtual ~BookmarksIOFunction();
205 205
(...skipping 29 matching lines...) Expand all
235 // BookmarkManagerIOFunction: 235 // BookmarkManagerIOFunction:
236 virtual bool RunImpl() OVERRIDE; 236 virtual bool RunImpl() OVERRIDE;
237 virtual void FileSelected(const FilePath& path, int index, void* params) 237 virtual void FileSelected(const FilePath& path, int index, void* params)
238 OVERRIDE; 238 OVERRIDE;
239 239
240 private: 240 private:
241 DECLARE_EXTENSION_FUNCTION_NAME("bookmarks.export"); 241 DECLARE_EXTENSION_FUNCTION_NAME("bookmarks.export");
242 }; 242 };
243 243
244 #endif // CHROME_BROWSER_BOOKMARKS_BOOKMARK_EXTENSION_API_H_ 244 #endif // CHROME_BROWSER_BOOKMARKS_BOOKMARK_EXTENSION_API_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698