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

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

Issue 48019: Removed unneeded includes of base/time.h. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 9 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_table_model.h" 5 #include "chrome/browser/bookmarks/bookmark_table_model.h"
6 6
7 #include <limits> 7 #include <limits>
8 8
9 #include "base/string_util.h" 9 #include "base/string_util.h"
10 #include "base/time.h"
11 #include "base/time_format.h" 10 #include "base/time_format.h"
12 #include "chrome/browser/bookmarks/bookmark_utils.h" 11 #include "chrome/browser/bookmarks/bookmark_utils.h"
13 #include "chrome/common/l10n_util.h" 12 #include "chrome/common/l10n_util.h"
14 #include "chrome/common/resource_bundle.h" 13 #include "chrome/common/resource_bundle.h"
15 #include "googleurl/src/gurl.h" 14 #include "googleurl/src/gurl.h"
16 #include "grit/generated_resources.h" 15 #include "grit/generated_resources.h"
17 #include "grit/theme_resources.h" 16 #include "grit/theme_resources.h"
18 17
19 namespace { 18 namespace {
20 19
(...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after
375 BuildPath(node->GetParent(), path); 374 BuildPath(node->GetParent(), path);
376 path->append(l10n_util::GetString(IDS_BOOKMARK_TABLE_PATH_SEPARATOR)); 375 path->append(l10n_util::GetString(IDS_BOOKMARK_TABLE_PATH_SEPARATOR));
377 // Force path to have LTR directionality. Otherwise, folder path "CBA/FED" 376 // Force path to have LTR directionality. Otherwise, folder path "CBA/FED"
378 // (in which, "CBA" and "FED" stand for folder names in Hebrew, and "FED" is 377 // (in which, "CBA" and "FED" stand for folder names in Hebrew, and "FED" is
379 // a subfolder of "CBA") will be displayed as "FED/CBA". 378 // a subfolder of "CBA") will be displayed as "FED/CBA".
380 if (l10n_util::GetTextDirection() == l10n_util::RIGHT_TO_LEFT) { 379 if (l10n_util::GetTextDirection() == l10n_util::RIGHT_TO_LEFT) {
381 path->push_back(static_cast<wchar_t>(l10n_util::kLeftToRightMark)); 380 path->push_back(static_cast<wchar_t>(l10n_util::kLeftToRightMark));
382 } 381 }
383 path->append(node->GetTitle()); 382 path->append(node->GetTitle());
384 } 383 }
OLDNEW
« no previous file with comments | « chrome/browser/bookmarks/bookmark_folder_tree_model_unittest.cc ('k') | chrome/browser/dom_ui/downloads_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698