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

Unified Diff: extensions/browser/api/idle/idle_manager.h

Issue 2664753002: Remove base::StringValue (Closed)
Patch Set: Rebase Created 3 years, 9 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
Index: extensions/browser/api/idle/idle_manager.h
diff --git a/extensions/browser/api/idle/idle_manager.h b/extensions/browser/api/idle/idle_manager.h
index 2dd296b4f354b26e7fec7c19be44c5274e3a8d61..e4a076b2c41c79ffdc15fd29a75d403255c1de38 100644
--- a/extensions/browser/api/idle/idle_manager.h
+++ b/extensions/browser/api/idle/idle_manager.h
@@ -23,7 +23,6 @@
namespace base {
class Value;
-using StringValue = Value;
} // namespace base
namespace content {
@@ -92,8 +91,7 @@ class IdleManager : public ExtensionRegistryObserver,
void QueryState(int threshold, const QueryStateCallback& notify);
void SetThreshold(const std::string& extension_id, int threshold);
- static std::unique_ptr<base::StringValue> CreateIdleValue(
- ui::IdleState idle_state);
+ static std::unique_ptr<base::Value> CreateIdleValue(ui::IdleState idle_state);
// Override default event class. Callee assumes ownership. Used for testing.
void SetEventDelegateForTest(std::unique_ptr<EventDelegate> event_delegate);
« no previous file with comments | « extensions/browser/api/guest_view/web_view/web_view_internal_api.cc ('k') | extensions/browser/api/idle/idle_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698