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

Side by Side Diff: content/browser/hyphenation/hyphenation_impl.h

Issue 2851173004: Eliminate bind callback that doesn't take a BindSourceInfo parameter. (Closed)
Patch Set: . Created 3 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_BROWSER_HYPHENATION_HYPHENATION_IMPL_H_ 5 #ifndef CONTENT_BROWSER_HYPHENATION_HYPHENATION_IMPL_H_
6 #define CONTENT_BROWSER_HYPHENATION_HYPHENATION_IMPL_H_ 6 #define CONTENT_BROWSER_HYPHENATION_HYPHENATION_IMPL_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "mojo/public/cpp/bindings/interface_request.h" 9 #include "mojo/public/cpp/bindings/interface_request.h"
10 #include "third_party/WebKit/public/platform/modules/hyphenation/hyphenation.moj om.h" 10 #include "third_party/WebKit/public/platform/modules/hyphenation/hyphenation.moj om.h"
11 11
12 namespace service_manager {
13 struct BindSourceInfo;
14 }
15
12 namespace hyphenation { 16 namespace hyphenation {
13 17
14 class HyphenationImpl : public blink::mojom::Hyphenation { 18 class HyphenationImpl : public blink::mojom::Hyphenation {
15 public: 19 public:
16 HyphenationImpl(); 20 HyphenationImpl();
17 ~HyphenationImpl() override; 21 ~HyphenationImpl() override;
18 22
19 static void Create(blink::mojom::HyphenationRequest); 23 static void Create(const service_manager::BindSourceInfo& source_info,
24 blink::mojom::HyphenationRequest);
20 25
21 // Hyphenation: 26 // Hyphenation:
22 void OpenDictionary(const std::string& locale, 27 void OpenDictionary(const std::string& locale,
23 const OpenDictionaryCallback& callback) override; 28 const OpenDictionaryCallback& callback) override;
24 29
25 private: 30 private:
26 DISALLOW_COPY_AND_ASSIGN(HyphenationImpl); 31 DISALLOW_COPY_AND_ASSIGN(HyphenationImpl);
27 }; 32 };
28 33
29 } // namespace hyphenation 34 } // namespace hyphenation
30 35
31 #endif // CONTENT_BROWSER_HYPHENATION_HYPHENATION_IMPL_H_ 36 #endif // CONTENT_BROWSER_HYPHENATION_HYPHENATION_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/gpu/gpu_process_host.cc ('k') | content/browser/hyphenation/hyphenation_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698