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

Side by Side Diff: content/child/service_worker/service_worker_dispatcher.h

Issue 102593002: Convert string16 to base::string16 in content. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_CHILD_SERVICE_WORKER_SERVICE_WORKER_DISPATCHER_H_ 5 #ifndef CONTENT_CHILD_SERVICE_WORKER_SERVICE_WORKER_DISPATCHER_H_
6 #define CONTENT_CHILD_SERVICE_WORKER_SERVICE_WORKER_DISPATCHER_H_ 6 #define CONTENT_CHILD_SERVICE_WORKER_SERVICE_WORKER_DISPATCHER_H_
7 7
8 #include "base/id_map.h" 8 #include "base/id_map.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 virtual void OnWorkerRunLoopStopped() OVERRIDE; 58 virtual void OnWorkerRunLoopStopped() OVERRIDE;
59 59
60 // The asynchronous success response to RegisterServiceWorker. 60 // The asynchronous success response to RegisterServiceWorker.
61 void OnRegistered(int32 thread_id, int32 request_id, int64 service_worker_id); 61 void OnRegistered(int32 thread_id, int32 request_id, int64 service_worker_id);
62 // The asynchronous success response to UregisterServiceWorker. 62 // The asynchronous success response to UregisterServiceWorker.
63 void OnUnregistered(int32 thread_id, 63 void OnUnregistered(int32 thread_id,
64 int32 request_id); 64 int32 request_id);
65 void OnRegistrationError(int32 thread_id, 65 void OnRegistrationError(int32 thread_id,
66 int32 request_id, 66 int32 request_id,
67 blink::WebServiceWorkerError::ErrorType error_type, 67 blink::WebServiceWorkerError::ErrorType error_type,
68 const string16& message); 68 const base::string16& message);
69 69
70 IDMap<blink::WebServiceWorkerProvider::WebServiceWorkerCallbacks, 70 IDMap<blink::WebServiceWorkerProvider::WebServiceWorkerCallbacks,
71 IDMapOwnPointer> pending_callbacks_; 71 IDMapOwnPointer> pending_callbacks_;
72 72
73 scoped_refptr<ThreadSafeSender> thread_safe_sender_; 73 scoped_refptr<ThreadSafeSender> thread_safe_sender_;
74 74
75 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerDispatcher); 75 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerDispatcher);
76 }; 76 };
77 77
78 } // namespace content 78 } // namespace content
79 79
80 #endif // CONTENT_CHILD_SERVICE_WORKER_SERVICE_WORKER_DISPATCHER_H_ 80 #endif // CONTENT_CHILD_SERVICE_WORKER_SERVICE_WORKER_DISPATCHER_H_
OLDNEW
« no previous file with comments | « content/child/plugin_messages.h ('k') | content/child/service_worker/service_worker_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698