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

Side by Side Diff: content/public/browser/storage_partition.h

Issue 2658473002: Refactor BluetoothAllowedDevicesMap (Closed)
Patch Set: clean up code Created 3 years, 10 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 CONTENT_PUBLIC_BROWSER_STORAGE_PARTITION_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_STORAGE_PARTITION_H_
6 #define CONTENT_PUBLIC_BROWSER_STORAGE_PARTITION_H_ 6 #define CONTENT_PUBLIC_BROWSER_STORAGE_PARTITION_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 const CookieMatcherFunction& cookie_matcher, 159 const CookieMatcherFunction& cookie_matcher,
160 const base::Time begin, 160 const base::Time begin,
161 const base::Time end, 161 const base::Time end,
162 const base::Closure& callback) = 0; 162 const base::Closure& callback) = 0;
163 163
164 // Write any unwritten data to disk. 164 // Write any unwritten data to disk.
165 // Note: this method does not sync the data - it only ensures that any 165 // Note: this method does not sync the data - it only ensures that any
166 // unwritten data has been written out to the filesystem. 166 // unwritten data has been written out to the filesystem.
167 virtual void Flush() = 0; 167 virtual void Flush() = 0;
168 168
169 // Clear the bluetooth allowed devices map. For test use only.
170 virtual void ClearBluetoothAllowedDevicesMap() = 0;
scheib 2017/02/03 23:28:13 For test only methods should end with ForTesting h
juncai 2017/02/08 06:43:49 Done.
171
169 protected: 172 protected:
170 virtual ~StoragePartition() {} 173 virtual ~StoragePartition() {}
171 }; 174 };
172 175
173 } // namespace content 176 } // namespace content
174 177
175 #endif // CONTENT_PUBLIC_BROWSER_STORAGE_PARTITION_H_ 178 #endif // CONTENT_PUBLIC_BROWSER_STORAGE_PARTITION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698