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

Unified Diff: content/renderer/dom_storage/local_storage_cached_area.h

Issue 2201763002: Switch on use_new_wrapper_types mode for content/common. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments from kinuko Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/content_common_mojo_bindings.gyp ('k') | content/renderer/dom_storage/local_storage_cached_area.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/dom_storage/local_storage_cached_area.h
diff --git a/content/renderer/dom_storage/local_storage_cached_area.h b/content/renderer/dom_storage/local_storage_cached_area.h
index 316f4e81082c3a07110fd58b146cdf1cb9a7aa32..26779e3859e8bb89319b000d1f76aecb41a89d9d 100644
--- a/content/renderer/dom_storage/local_storage_cached_area.h
+++ b/content/renderer/dom_storage/local_storage_cached_area.h
@@ -65,24 +65,24 @@ class LocalStorageCachedArea : public mojom::LevelDBObserver,
~LocalStorageCachedArea() override;
// LevelDBObserver:
- void KeyAdded(mojo::Array<uint8_t> key,
- mojo::Array<uint8_t> value,
- const mojo::String& source) override;
- void KeyChanged(mojo::Array<uint8_t> key,
- mojo::Array<uint8_t> new_value,
- mojo::Array<uint8_t> old_value,
- const mojo::String& source) override;
- void KeyDeleted(mojo::Array<uint8_t> key,
- mojo::Array<uint8_t> old_value,
- const mojo::String& source) override;
- void AllDeleted(const mojo::String& source) override;
- void GetAllComplete(const mojo::String& source) override;
+ void KeyAdded(const std::vector<uint8_t>& key,
+ const std::vector<uint8_t>& value,
+ const std::string& source) override;
+ void KeyChanged(const std::vector<uint8_t>& key,
+ const std::vector<uint8_t>& new_value,
+ const std::vector<uint8_t>& old_value,
+ const std::string& source) override;
+ void KeyDeleted(const std::vector<uint8_t>& key,
+ const std::vector<uint8_t>& old_value,
+ const std::string& source) override;
+ void AllDeleted(const std::string& source) override;
+ void GetAllComplete(const std::string& source) override;
// Common helper for KeyAdded() and KeyChanged()
- void KeyAddedOrChanged(mojo::Array<uint8_t> key,
- mojo::Array<uint8_t> new_value,
+ void KeyAddedOrChanged(const std::vector<uint8_t>& key,
+ const std::vector<uint8_t>& new_value,
const base::NullableString16& old_value,
- const mojo::String& source);
+ const std::string& source);
// Synchronously fetches the origin's local storage data if it hasn't been
// fetched already.
« no previous file with comments | « content/content_common_mojo_bindings.gyp ('k') | content/renderer/dom_storage/local_storage_cached_area.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698