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

Side by Side Diff: chrome/browser/component_updater/test/component_updater_service_unittest.h

Issue 590333002: Replace usage of basictypes.h with a combination of stdint.h and base/macros.h. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Created 6 years, 3 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 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 CHROME_BROWSER_COMPONENT_UPDATER_TEST_COMPONENT_UPDATER_SERVICE_UNITTEST _H_ 5 #ifndef CHROME_BROWSER_COMPONENT_UPDATER_TEST_COMPONENT_UPDATER_SERVICE_UNITTEST _H_
6 #define CHROME_BROWSER_COMPONENT_UPDATER_TEST_COMPONENT_UPDATER_SERVICE_UNITTEST _H_ 6 #define CHROME_BROWSER_COMPONENT_UPDATER_TEST_COMPONENT_UPDATER_SERVICE_UNITTEST _H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h"
11 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
12 #include "base/files/file_path.h" 11 #include "base/files/file_path.h"
12 #include "base/macros.h"
13 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
14 #include "components/component_updater/component_updater_service.h" 14 #include "components/component_updater/component_updater_service.h"
15 #include "components/component_updater/test/test_configurator.h"
16 #include "components/component_updater/test/url_request_post_interceptor.h"
17 #include "content/public/test/test_browser_thread_bundle.h" 15 #include "content/public/test/test_browser_thread_bundle.h"
18 #include "net/url_request/test_url_request_interceptor.h"
19 #include "net/url_request/url_request_test_util.h"
20 #include "testing/gmock/include/gmock/gmock.h" 16 #include "testing/gmock/include/gmock/gmock.h"
21 #include "testing/gtest/include/gtest/gtest.h" 17 #include "testing/gtest/include/gtest/gtest.h"
22 18
19 namespace net {
20 class LocalHostTestURLRequestInterceptor;
21 }
22
23 namespace component_updater { 23 namespace component_updater {
24 24
25 class InterceptorFactory;
26 class TestConfigurator;
25 class TestInstaller; 27 class TestInstaller;
28 class URLRequestPostInterceptor;
26 29
27 // Intercepts HTTP GET requests sent to "localhost". 30 // Intercepts HTTP GET requests sent to "localhost".
28 typedef net::LocalHostTestURLRequestInterceptor GetInterceptor; 31 typedef net::LocalHostTestURLRequestInterceptor GetInterceptor;
29 32
30 class ComponentUpdaterTest : public testing::Test { 33 class ComponentUpdaterTest : public testing::Test {
31 public: 34 public:
32 enum TestComponents { 35 enum TestComponents {
33 kTestComponent_abag, 36 kTestComponent_abag,
34 kTestComponent_jebg, 37 kTestComponent_jebg,
35 kTestComponent_ihfo, 38 kTestComponent_ihfo,
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 class OnDemandTester { 86 class OnDemandTester {
84 public: 87 public:
85 static ComponentUpdateService::Status OnDemand( 88 static ComponentUpdateService::Status OnDemand(
86 ComponentUpdateService* cus, 89 ComponentUpdateService* cus,
87 const std::string& component_id); 90 const std::string& component_id);
88 }; 91 };
89 92
90 } // namespace component_updater 93 } // namespace component_updater
91 94
92 #endif // CHROME_BROWSER_COMPONENT_UPDATER_TEST_COMPONENT_UPDATER_SERVICE_UNITT EST_H_ 95 #endif // CHROME_BROWSER_COMPONENT_UPDATER_TEST_COMPONENT_UPDATER_SERVICE_UNITT EST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698