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

Side by Side Diff: components/omnibox/browser/shortcuts_database.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_SHORTCUTS_DATABASE_H_ 5 #ifndef COMPONENTS_OMNIBOX_BROWSER_SHORTCUTS_DATABASE_H_
6 #define COMPONENTS_OMNIBOX_BROWSER_SHORTCUTS_DATABASE_H_ 6 #define COMPONENTS_OMNIBOX_BROWSER_SHORTCUTS_DATABASE_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/files/file_path.h" 12 #include "base/files/file_path.h"
13 #include "base/gtest_prod_util.h" 13 #include "base/gtest_prod_util.h"
14 #include "base/macros.h"
14 #include "base/memory/ref_counted.h" 15 #include "base/memory/ref_counted.h"
15 #include "base/strings/string16.h" 16 #include "base/strings/string16.h"
16 #include "sql/connection.h" 17 #include "sql/connection.h"
17 #include "sql/meta_table.h" 18 #include "sql/meta_table.h"
18 #include "url/gurl.h" 19 #include "url/gurl.h"
19 20
20 // This class manages the shortcut provider table within the SQLite database 21 // This class manages the shortcut provider table within the SQLite database
21 // passed to the constructor. It expects the following schema: 22 // passed to the constructor. It expects the following schema:
22 // 23 //
23 // Note: The database stores time in seconds, UTC. 24 // Note: The database stores time in seconds, UTC.
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 // The sql database. Not valid until Init is called. 125 // The sql database. Not valid until Init is called.
125 sql::Connection db_; 126 sql::Connection db_;
126 base::FilePath database_path_; 127 base::FilePath database_path_;
127 128
128 sql::MetaTable meta_table_; 129 sql::MetaTable meta_table_;
129 130
130 DISALLOW_COPY_AND_ASSIGN(ShortcutsDatabase); 131 DISALLOW_COPY_AND_ASSIGN(ShortcutsDatabase);
131 }; 132 };
132 133
133 #endif // COMPONENTS_OMNIBOX_BROWSER_SHORTCUTS_DATABASE_H_ 134 #endif // COMPONENTS_OMNIBOX_BROWSER_SHORTCUTS_DATABASE_H_
OLDNEW
« no previous file with comments | « components/omnibox/browser/shortcuts_backend.cc ('k') | components/omnibox/browser/shortcuts_database_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698