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

Unified Diff: chrome/browser/extensions/extension_bookmark_helpers.h

Issue 8374023: Move bookmarks extension api implementation to bookmarks dir (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix deps, rebase Created 9 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/extension_bookmark_helpers.h
diff --git a/chrome/browser/extensions/extension_bookmark_helpers.h b/chrome/browser/extensions/extension_bookmark_helpers.h
deleted file mode 100644
index beb76001ea5c344aafd2e8b4a77bef71984abaf9..0000000000000000000000000000000000000000
--- a/chrome/browser/extensions/extension_bookmark_helpers.h
+++ /dev/null
@@ -1,42 +0,0 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_BOOKMARK_HELPERS_H_
-#define CHROME_BROWSER_EXTENSIONS_EXTENSION_BOOKMARK_HELPERS_H_
-#pragma once
-
-#include <string>
-
-#include "base/basictypes.h"
-
-class BookmarkModel;
-class BookmarkNode;
-
-namespace base {
-class DictionaryValue;
-class ListValue;
-}
-
-// Helper functions.
-namespace extension_bookmark_helpers {
-
-base::DictionaryValue* GetNodeDictionary(const BookmarkNode* node,
- bool recurse,
- bool only_folders);
-
-// Add a JSON representation of |node| to the JSON |list|.
-void AddNode(const BookmarkNode* node, base::ListValue* list, bool recurse);
-
-void AddNodeFoldersOnly(const BookmarkNode* node,
- base::ListValue* list,
- bool recurse);
-
-bool RemoveNode(BookmarkModel* model,
- int64 id,
- bool recursive,
- std::string* error);
-
-} // namespace extension_bookmark_helpers
-
-#endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_BOOKMARK_HELPERS_H_

Powered by Google App Engine
This is Rietveld 408576698