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

Side by Side Diff: components/omnibox/browser/answers_cache.h

Issue 1551433002: Switch to standard integer types in components/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more Created 4 years, 12 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #ifndef COMPONENTS_OMNIBOX_BROWSER_ANSWERS_CACHE_H_ 5 #ifndef COMPONENTS_OMNIBOX_BROWSER_ANSWERS_CACHE_H_
6 #define COMPONENTS_OMNIBOX_BROWSER_ANSWERS_CACHE_H_ 6 #define COMPONENTS_OMNIBOX_BROWSER_ANSWERS_CACHE_H_
7 7
8 #include <stddef.h>
9
8 #include <list> 10 #include <list>
9 11
10 #include "base/basictypes.h" 12 #include "base/macros.h"
11 #include "base/strings/string16.h" 13 #include "base/strings/string16.h"
12 14
13 struct AnswersQueryData { 15 struct AnswersQueryData {
14 AnswersQueryData(); 16 AnswersQueryData();
15 AnswersQueryData(const base::string16& full_query_text, 17 AnswersQueryData(const base::string16& full_query_text,
16 const base::string16& query_type); 18 const base::string16& query_type);
17 base::string16 full_query_text; 19 base::string16 full_query_text;
18 base::string16 query_type; 20 base::string16 query_type;
19 }; 21 };
20 22
(...skipping 16 matching lines...) Expand all
37 39
38 private: 40 private:
39 size_t max_entries_; 41 size_t max_entries_;
40 typedef std::list<AnswersQueryData> Cache; 42 typedef std::list<AnswersQueryData> Cache;
41 Cache cache_; 43 Cache cache_;
42 44
43 DISALLOW_COPY_AND_ASSIGN(AnswersCache); 45 DISALLOW_COPY_AND_ASSIGN(AnswersCache);
44 }; 46 };
45 47
46 #endif // COMPONENTS_OMNIBOX_BROWSER_ANSWERS_CACHE_H_ 48 #endif // COMPONENTS_OMNIBOX_BROWSER_ANSWERS_CACHE_H_
OLDNEW
« no previous file with comments | « components/offline_pages/offline_page_test_store.cc ('k') | components/omnibox/browser/autocomplete_classifier.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698