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

Side by Side Diff: third_party/WebKit/Source/web/SharedWorkerRepositoryClientImpl.h

Issue 2547053003: s/ passed(...) / WTF::passed(...) / to avoid future ambiguity w/ base::Passed. (Closed)
Patch Set: Rebasing... Created 4 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 class WebSharedWorkerRepositoryClient; 42 class WebSharedWorkerRepositoryClient;
43 43
44 class SharedWorkerRepositoryClientImpl final 44 class SharedWorkerRepositoryClientImpl final
45 : public SharedWorkerRepositoryClient { 45 : public SharedWorkerRepositoryClient {
46 WTF_MAKE_NONCOPYABLE(SharedWorkerRepositoryClientImpl); 46 WTF_MAKE_NONCOPYABLE(SharedWorkerRepositoryClientImpl);
47 USING_FAST_MALLOC(SharedWorkerRepositoryClientImpl); 47 USING_FAST_MALLOC(SharedWorkerRepositoryClientImpl);
48 48
49 public: 49 public:
50 static std::unique_ptr<SharedWorkerRepositoryClientImpl> create( 50 static std::unique_ptr<SharedWorkerRepositoryClientImpl> create(
51 WebSharedWorkerRepositoryClient* client) { 51 WebSharedWorkerRepositoryClient* client) {
52 return wrapUnique(new SharedWorkerRepositoryClientImpl(client)); 52 return WTF::wrapUnique(new SharedWorkerRepositoryClientImpl(client));
53 } 53 }
54 54
55 ~SharedWorkerRepositoryClientImpl() override {} 55 ~SharedWorkerRepositoryClientImpl() override {}
56 56
57 void connect(SharedWorker*, 57 void connect(SharedWorker*,
58 WebMessagePortChannelUniquePtr, 58 WebMessagePortChannelUniquePtr,
59 const KURL&, 59 const KURL&,
60 const String& name, 60 const String& name,
61 ExceptionState&) override; 61 ExceptionState&) override;
62 void documentDetached(Document*) override; 62 void documentDetached(Document*) override;
63 63
64 private: 64 private:
65 explicit SharedWorkerRepositoryClientImpl(WebSharedWorkerRepositoryClient*); 65 explicit SharedWorkerRepositoryClientImpl(WebSharedWorkerRepositoryClient*);
66 66
67 WebSharedWorkerRepositoryClient* m_client; 67 WebSharedWorkerRepositoryClient* m_client;
68 }; 68 };
69 69
70 } // namespace blink 70 } // namespace blink
71 71
72 #endif // SharedWorkerRepositoryClientImpl_h 72 #endif // SharedWorkerRepositoryClientImpl_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698