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

Unified Diff: content/browser/webui/url_data_manager_backend.h

Issue 2475593002: MD History: update (instead of re-create) data sources on sign in change (Closed)
Patch Set: old history as well Created 4 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/webui/url_data_manager_backend.h
diff --git a/content/browser/webui/url_data_manager_backend.h b/content/browser/webui/url_data_manager_backend.h
index f8ae89024947ae303b5f812d2bbeef3b22d4112f..053b9b5d45497896b98046965a073e839a54a434 100644
--- a/content/browser/webui/url_data_manager_backend.h
+++ b/content/browser/webui/url_data_manager_backend.h
@@ -13,6 +13,7 @@
#include "base/compiler_specific.h"
#include "base/macros.h"
#include "base/supports_user_data.h"
+#include "base/values.h"
#include "content/browser/webui/url_data_manager.h"
#include "content/public/browser/url_data_source.h"
#include "net/url_request/url_request_job_factory.h"
@@ -52,6 +53,9 @@ class URLDataManagerBackend : public base::SupportsUserData::Data {
// Adds a DataSource to the collection of data sources.
void AddDataSource(URLDataSourceImpl* source);
+ void UpdateWebUIDataSource(const std::string& source_name,
+ const base::DictionaryValue& update);
+
// DataSource invokes this. Sends the data to the URLRequest. |bytes| may be
// null, which signals an error handling the request.
void DataAvailable(RequestID request_id, base::RefCountedMemory* bytes);

Powered by Google App Engine
This is Rietveld 408576698