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

Side by Side Diff: chrome/browser/webdata/keyword_table.h

Issue 8502019: Added internal Protector key to official build (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added check for DSP Created 9 years, 1 month 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
« no previous file with comments | « no previous file | chrome/browser/webdata/keyword_table.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 CHROME_BROWSER_WEBDATA_KEYWORD_TABLE_H_ 5 #ifndef CHROME_BROWSER_WEBDATA_KEYWORD_TABLE_H_
6 #define CHROME_BROWSER_WEBDATA_KEYWORD_TABLE_H_ 6 #define CHROME_BROWSER_WEBDATA_KEYWORD_TABLE_H_
7 #pragma once 7 #pragma once
8 8
9 #include <vector> 9 #include <vector>
10 10
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 int GetBuiltinKeywordVersion(); 96 int GetBuiltinKeywordVersion();
97 97
98 // Table migration functions. 98 // Table migration functions.
99 bool MigrateToVersion21AutoGenerateKeywordColumn(); 99 bool MigrateToVersion21AutoGenerateKeywordColumn();
100 bool MigrateToVersion25AddLogoIDColumn(); 100 bool MigrateToVersion25AddLogoIDColumn();
101 bool MigrateToVersion26AddCreatedByPolicyColumn(); 101 bool MigrateToVersion26AddCreatedByPolicyColumn();
102 bool MigrateToVersion28SupportsInstantColumn(); 102 bool MigrateToVersion28SupportsInstantColumn();
103 bool MigrateToVersion29InstantUrlToSupportsInstant(); 103 bool MigrateToVersion29InstantUrlToSupportsInstant();
104 bool MigrateToVersion38AddLastModifiedColumn(); 104 bool MigrateToVersion38AddLastModifiedColumn();
105 bool MigrateToVersion39AddSyncGUIDColumn(); 105 bool MigrateToVersion39AddSyncGUIDColumn();
106 bool MigrateToVersion40AddDefaultSearchEngineBackup(); 106 bool MigrateToVersion40AddDefaultSearchProviderBackup();
107 bool MigrateToVersion41RewriteDefaultSearchProviderBackup();
107 108
108 private: 109 private:
109 FRIEND_TEST_ALL_PREFIXES(KeywordTableTest, DefaultSearchProviderBackup); 110 FRIEND_TEST_ALL_PREFIXES(KeywordTableTest, DefaultSearchProviderBackup);
110 111
111 // Sets backup for id of the default search provider. 112 // Sets backup for id of the default search provider.
112 // Backup value is used to notice when unexpected change of the id 113 // Backup value is used to notice when unexpected change of the id
113 // occurred (i.e. by third-party process trying to modify user settings). 114 // occurred (i.e. by third-party process trying to modify user settings).
114 bool SetDefaultSearchProviderBackupID(int64 id); 115 bool SetDefaultSearchProviderBackupID(int64 id);
115 116
116 // Sets signature for the backup field. 117 // Sets signature for the backup field.
117 bool SetDefaultSearchProviderBackupIDSignature(int64 id); 118 bool SetDefaultSearchProviderBackupIDSignature(int64 id);
118 119
119 DISALLOW_COPY_AND_ASSIGN(KeywordTable); 120 DISALLOW_COPY_AND_ASSIGN(KeywordTable);
120 }; 121 };
121 122
122 #endif // CHROME_BROWSER_WEBDATA_KEYWORD_TABLE_H_ 123 #endif // CHROME_BROWSER_WEBDATA_KEYWORD_TABLE_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/webdata/keyword_table.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698