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

Unified Diff: chrome/browser/chromeos/file_system_provider/request_manager_unittest.cc

Issue 301873002: [fsp] Show request logs in chrome://provided-file-systems. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Display errors as text. Created 6 years, 7 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: chrome/browser/chromeos/file_system_provider/request_manager_unittest.cc
diff --git a/chrome/browser/chromeos/file_system_provider/request_manager_unittest.cc b/chrome/browser/chromeos/file_system_provider/request_manager_unittest.cc
index f3e19a4d4a7e7aaadef87a7260eda115d8b90a1b..031c7da35a1fcae13e22fbd11661ed2e5e44a255 100644
--- a/chrome/browser/chromeos/file_system_provider/request_manager_unittest.cc
+++ b/chrome/browser/chromeos/file_system_provider/request_manager_unittest.cc
@@ -157,14 +157,14 @@ class RequestObserver : public RequestManager::Observer {
class CreatedEvent : public Event {
public:
- CreatedEvent(int request_id, RequestManager::RequestType type)
+ CreatedEvent(int request_id, RequestType type)
: Event(request_id), type_(type) {}
virtual ~CreatedEvent() {}
- RequestManager::RequestType type() const { return type_; }
+ RequestType type() const { return type_; }
private:
- RequestManager::RequestType type_;
+ RequestType type_;
};
class FulfilledEvent : public Event {
@@ -195,8 +195,7 @@ class RequestObserver : public RequestManager::Observer {
virtual ~RequestObserver() {}
// RequestManager::Observer overrides.
- virtual void OnRequestCreated(int request_id,
- RequestManager::RequestType type) OVERRIDE {
+ virtual void OnRequestCreated(int request_id, RequestType type) OVERRIDE {
created_.push_back(CreatedEvent(request_id, type));
}

Powered by Google App Engine
This is Rietveld 408576698