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

Side by Side Diff: third_party/WebKit/Source/modules/app_banner/AppBannerPromptResult.h

Issue 2080623002: Revert "Remove OwnPtr from Blink." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 AppBannerPromptResult_h 5 #ifndef AppBannerPromptResult_h
6 #define AppBannerPromptResult_h 6 #define AppBannerPromptResult_h
7 7
8 #include "bindings/core/v8/ScriptWrappable.h" 8 #include "bindings/core/v8/ScriptWrappable.h"
9 #include "public/platform/modules/app_banner/WebAppBannerPromptResult.h" 9 #include "public/platform/modules/app_banner/WebAppBannerPromptResult.h"
10 #include "wtf/Noncopyable.h" 10 #include "wtf/Noncopyable.h"
11 #include "wtf/PassOwnPtr.h"
11 #include "wtf/text/WTFString.h" 12 #include "wtf/text/WTFString.h"
12 13
13 namespace blink { 14 namespace blink {
14 15
15 class ScriptPromiseResolver; 16 class ScriptPromiseResolver;
16 17
17 class AppBannerPromptResult final : public GarbageCollectedFinalized<AppBannerPr omptResult>, public ScriptWrappable { 18 class AppBannerPromptResult final : public GarbageCollectedFinalized<AppBannerPr omptResult>, public ScriptWrappable {
18 DEFINE_WRAPPERTYPEINFO(); 19 DEFINE_WRAPPERTYPEINFO();
19 WTF_MAKE_NONCOPYABLE(AppBannerPromptResult); 20 WTF_MAKE_NONCOPYABLE(AppBannerPromptResult);
20 public: 21 public:
(...skipping 12 matching lines...) Expand all
33 private: 34 private:
34 AppBannerPromptResult(const AtomicString& platform, WebAppBannerPromptResult ::Outcome); 35 AppBannerPromptResult(const AtomicString& platform, WebAppBannerPromptResult ::Outcome);
35 36
36 String m_platform; 37 String m_platform;
37 WebAppBannerPromptResult::Outcome m_outcome; 38 WebAppBannerPromptResult::Outcome m_outcome;
38 }; 39 };
39 40
40 } // namespace blink 41 } // namespace blink
41 42
42 #endif // AppBannerPromptResult_h 43 #endif // AppBannerPromptResult_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698