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

Side by Side Diff: chrome/browser/bookmarks/bookmark_model.cc

Issue 109043: Move l10n_util to app/ (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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 (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 #include "chrome/browser/bookmarks/bookmark_model.h" 5 #include "chrome/browser/bookmarks/bookmark_model.h"
6 6
7 #include "app/l10n_util.h"
7 #include "base/gfx/png_decoder.h" 8 #include "base/gfx/png_decoder.h"
8 #include "base/scoped_vector.h" 9 #include "base/scoped_vector.h"
9 #include "build/build_config.h" 10 #include "build/build_config.h"
10 #include "chrome/browser/bookmarks/bookmark_utils.h" 11 #include "chrome/browser/bookmarks/bookmark_utils.h"
11 #include "chrome/browser/bookmarks/bookmark_storage.h" 12 #include "chrome/browser/bookmarks/bookmark_storage.h"
12 #include "chrome/browser/browser_process.h" 13 #include "chrome/browser/browser_process.h"
13 #include "chrome/browser/profile.h" 14 #include "chrome/browser/profile.h"
14 #include "chrome/common/l10n_util.h"
15 #include "chrome/common/notification_service.h" 15 #include "chrome/common/notification_service.h"
16 #include "grit/generated_resources.h" 16 #include "grit/generated_resources.h"
17 17
18 using base::Time; 18 using base::Time;
19 19
20 // BookmarkNode --------------------------------------------------------------- 20 // BookmarkNode ---------------------------------------------------------------
21 21
22 namespace { 22 namespace {
23 23
24 // ID for BookmarkNodes. 24 // ID for BookmarkNodes.
(...skipping 712 matching lines...) Expand 10 before | Expand all | Expand 10 after
737 } 737 }
738 738
739 void BookmarkModel::PopulateNodesByURL(BookmarkNode* node) { 739 void BookmarkModel::PopulateNodesByURL(BookmarkNode* node) {
740 // NOTE: this is called with url_lock_ already held. As such, this doesn't 740 // NOTE: this is called with url_lock_ already held. As such, this doesn't
741 // explicitly grab the lock. 741 // explicitly grab the lock.
742 if (node->is_url()) 742 if (node->is_url())
743 nodes_ordered_by_url_set_.insert(node); 743 nodes_ordered_by_url_set_.insert(node);
744 for (int i = 0; i < node->GetChildCount(); ++i) 744 for (int i = 0; i < node->GetChildCount(); ++i)
745 PopulateNodesByURL(node->GetChild(i)); 745 PopulateNodesByURL(node->GetChild(i));
746 } 746 }
OLDNEW
« no previous file with comments | « chrome/browser/bookmarks/bookmark_menu_controller.cc ('k') | chrome/browser/bookmarks/bookmark_table_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698