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

Side by Side Diff: chrome/browser/dom_ui/history_ui.cc

Issue 113945: Headers cleanup in chrome/common (Closed)
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
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/dom_ui/history_ui.h" 5 #include "chrome/browser/dom_ui/history_ui.h"
6 6
7 #include "app/l10n_util.h" 7 #include "app/l10n_util.h"
8 #include "app/resource_bundle.h" 8 #include "app/resource_bundle.h"
9 #include "base/message_loop.h" 9 #include "base/message_loop.h"
10 #include "base/string_piece.h" 10 #include "base/string_piece.h"
11 #include "base/string_util.h" 11 #include "base/string_util.h"
12 #include "base/thread.h" 12 #include "base/thread.h"
13 #include "base/time.h" 13 #include "base/time.h"
14 #include "base/time_format.h" 14 #include "base/time_format.h"
15 #include "base/values.h"
15 #include "chrome/browser/bookmarks/bookmark_model.h" 16 #include "chrome/browser/bookmarks/bookmark_model.h"
16 #include "chrome/browser/browser_process.h" 17 #include "chrome/browser/browser_process.h"
17 #include "chrome/browser/dom_ui/dom_ui_favicon_source.h" 18 #include "chrome/browser/dom_ui/dom_ui_favicon_source.h"
18 #include "chrome/browser/metrics/user_metrics.h" 19 #include "chrome/browser/metrics/user_metrics.h"
19 #include "chrome/browser/history/history_types.h" 20 #include "chrome/browser/history/history_types.h"
20 #include "chrome/browser/profile.h" 21 #include "chrome/browser/profile.h"
21 #include "chrome/common/jstemplate_builder.h" 22 #include "chrome/common/jstemplate_builder.h"
22 #include "chrome/common/notification_service.h" 23 #include "chrome/common/notification_service.h"
23 #include "chrome/common/time_format.h" 24 #include "chrome/common/time_format.h"
24 #include "chrome/common/url_constants.h" 25 #include "chrome/common/url_constants.h"
(...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after
364 NewRunnableMethod(&chrome_url_data_manager, 365 NewRunnableMethod(&chrome_url_data_manager,
365 &ChromeURLDataManager::AddDataSource, 366 &ChromeURLDataManager::AddDataSource,
366 html_source)); 367 html_source));
367 } 368 }
368 369
369 // static 370 // static
370 const GURL HistoryUI::GetHistoryURLWithSearchText(const std::wstring& text) { 371 const GURL HistoryUI::GetHistoryURLWithSearchText(const std::wstring& text) {
371 return GURL(std::string(chrome::kChromeUIHistoryURL) + "#q=" + 372 return GURL(std::string(chrome::kChromeUIHistoryURL) + "#q=" +
372 EscapeQueryParamValue(WideToUTF8(text))); 373 EscapeQueryParamValue(WideToUTF8(text)));
373 } 374 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/history/url_database.h » ('j') | chrome/browser/history/url_database.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698