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

Side by Side Diff: components/suggestions/suggestions_service_unittest.cc

Issue 763833003: Remove using namespace in net/quic/quic_stream_sequencer.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: resolve ramant's comment, using std:: for .cc Created 6 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 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #include "components/suggestions/suggestions_service.h" 5 #include "components/suggestions/suggestions_service.h"
6 6
7 #include <map> 7 #include <map>
8 #include <sstream> 8 #include <sstream>
9 #include <string> 9 #include <string>
10 10
(...skipping 10 matching lines...) Expand all
21 #include "components/variations/entropy_provider.h" 21 #include "components/variations/entropy_provider.h"
22 #include "components/variations/variations_associated_data.h" 22 #include "components/variations/variations_associated_data.h"
23 #include "net/http/http_response_headers.h" 23 #include "net/http/http_response_headers.h"
24 #include "net/http/http_status_code.h" 24 #include "net/http/http_status_code.h"
25 #include "net/url_request/test_url_fetcher_factory.h" 25 #include "net/url_request/test_url_fetcher_factory.h"
26 #include "net/url_request/url_request_status.h" 26 #include "net/url_request/url_request_status.h"
27 #include "net/url_request/url_request_test_util.h" 27 #include "net/url_request/url_request_test_util.h"
28 #include "testing/gmock/include/gmock/gmock.h" 28 #include "testing/gmock/include/gmock/gmock.h"
29 #include "testing/gtest/include/gtest/gtest.h" 29 #include "testing/gtest/include/gtest/gtest.h"
30 30
31 using std::string;
31 using testing::DoAll; 32 using testing::DoAll;
32 using ::testing::Eq; 33 using ::testing::Eq;
33 using ::testing::Return; 34 using ::testing::Return;
34 using testing::SetArgPointee; 35 using testing::SetArgPointee;
35 using ::testing::NiceMock; 36 using ::testing::NiceMock;
36 using ::testing::StrictMock; 37 using ::testing::StrictMock;
37 using ::testing::_; 38 using ::testing::_;
38 39
39 namespace { 40 namespace {
40 41
(...skipping 443 matching lines...) Expand 10 before | Expand all | Expand 10 after
484 scoped_ptr<SuggestionsService> suggestions_service( 485 scoped_ptr<SuggestionsService> suggestions_service(
485 CreateSuggestionsServiceWithMocks()); 486 CreateSuggestionsServiceWithMocks());
486 SuggestionsProfile suggestions = 487 SuggestionsProfile suggestions =
487 CreateSuggestionsProfileWithExpiryTimestamps(); 488 CreateSuggestionsProfileWithExpiryTimestamps();
488 suggestions_service->SetDefaultExpiryTimestamp(&suggestions, 489 suggestions_service->SetDefaultExpiryTimestamp(&suggestions,
489 kTestDefaultExpiry); 490 kTestDefaultExpiry);
490 EXPECT_EQ(kTestSetExpiry, suggestions.suggestions(0).expiry_ts()); 491 EXPECT_EQ(kTestSetExpiry, suggestions.suggestions(0).expiry_ts());
491 EXPECT_EQ(kTestDefaultExpiry, suggestions.suggestions(1).expiry_ts()); 492 EXPECT_EQ(kTestDefaultExpiry, suggestions.suggestions(1).expiry_ts());
492 } 493 }
493 } // namespace suggestions 494 } // namespace suggestions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698