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

Side by Side Diff: chrome/browser/ui/app_list/search/history.cc

Issue 16431004: Use a direct include of strings headers in chrome/browser/ui/a*/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 6 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/ui/app_list/search/history.h" 5 #include "chrome/browser/ui/app_list/search/history.h"
6 6
7 #include "base/files/file_path.h" 7 #include "base/files/file_path.h"
8 #include "base/string_util.h" 8 #include "base/strings/string_util.h"
9 #include "base/strings/utf_string_conversions.h" 9 #include "base/strings/utf_string_conversions.h"
10 #include "chrome/browser/ui/app_list/search/history_data.h" 10 #include "chrome/browser/ui/app_list/search/history_data.h"
11 #include "chrome/browser/ui/app_list/search/history_data_store.h" 11 #include "chrome/browser/ui/app_list/search/history_data_store.h"
12 #include "chrome/browser/ui/app_list/search/tokenized_string.h" 12 #include "chrome/browser/ui/app_list/search/tokenized_string.h"
13 #include "content/public/browser/browser_context.h" 13 #include "content/public/browser/browser_context.h"
14 14
15 namespace app_list { 15 namespace app_list {
16 16
17 namespace { 17 namespace {
18 18
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 const std::string& query) const { 56 const std::string& query) const {
57 DCHECK(IsReady()); 57 DCHECK(IsReady());
58 return data_->GetKnownResults(NormalizeString(query)).Pass(); 58 return data_->GetKnownResults(NormalizeString(query)).Pass();
59 } 59 }
60 60
61 void History::OnHistoryDataLoadedFromStore() { 61 void History::OnHistoryDataLoadedFromStore() {
62 data_loaded_ = true; 62 data_loaded_ = true;
63 } 63 }
64 64
65 } // namespace app_list 65 } // namespace app_list
OLDNEW
« no previous file with comments | « chrome/browser/ui/android/validation_message_bubble_android.h ('k') | chrome/browser/ui/app_list/search/history_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698