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

Side by Side Diff: extensions/test/test_content_utility_client.h

Issue 864093002: Move sandboxed_unpacker.{h,cc} from chrome/ to extensions/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: renamed utility_content_client_, and added call to clear the UtilityClientForTesting in ~Extensions… Created 5 years, 11 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef EXTENSIONS_TEST_TEST_CONTENT_UTILITY_CLIENT_H_
6 #define EXTENSIONS_TEST_TEST_CONTENT_UTILITY_CLIENT_H_
7
8 #include "content/public/utility/content_utility_client.h"
9 #include "extensions/utility/utility_handler.h"
10
11 namespace extensions {
12
13 class TestContentUtilityClient : public content::ContentUtilityClient {
14 public:
15 TestContentUtilityClient();
16 ~TestContentUtilityClient() override;
17
18 // ContentUtilityClient implementation
19 void UtilityThreadStarted() override;
20 bool OnMessageReceived(const IPC::Message& message) override;
21
22 private:
23 UtilityHandler utility_handler_;
24 };
25
26 } // namespace extensions
27
28 #endif // EXTENSIONS_TEST_TEST_CONTENT_UTILITY_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698