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

Side by Side Diff: chrome/browser/extensions/extension_sync_data_unittest.cc

Issue 109673004: Revert "Update all users of base::Version to explicitly specify the namespace, and clean up the hea… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "chrome/browser/extensions/extension_sync_data.h" 5 #include "chrome/browser/extensions/extension_sync_data.h"
6 6
7 #include "base/files/file_path.h" 7 #include "base/files/file_path.h"
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "base/version.h"
9 #include "sync/protocol/extension_specifics.pb.h" 10 #include "sync/protocol/extension_specifics.pb.h"
10 #include "sync/protocol/sync.pb.h" 11 #include "sync/protocol/sync.pb.h"
11 #include "testing/gtest/include/gtest/gtest.h" 12 #include "testing/gtest/include/gtest/gtest.h"
12 #include "url/gurl.h" 13 #include "url/gurl.h"
13 14
14 namespace { 15 namespace {
15 16
16 const char kValidId[] = "abcdefghijklmnopabcdefghijklmnop"; 17 const char kValidId[] = "abcdefghijklmnopabcdefghijklmnop";
17 const char kVersion[] = "1.0.0.1"; 18 const char kVersion[] = "1.0.0.1";
18 const char kValidUpdateUrl[] = 19 const char kValidUpdateUrl[] =
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 output_specifics.update_url()); 69 output_specifics.update_url());
69 EXPECT_EQ(extension_sync_data.enabled(), output_specifics.enabled()); 70 EXPECT_EQ(extension_sync_data.enabled(), output_specifics.enabled());
70 EXPECT_EQ(extension_sync_data.incognito_enabled(), 71 EXPECT_EQ(extension_sync_data.incognito_enabled(),
71 output_specifics.incognito_enabled()); 72 output_specifics.incognito_enabled());
72 EXPECT_EQ(extension_sync_data.version().GetString(), 73 EXPECT_EQ(extension_sync_data.version().GetString(),
73 output_specifics.version()); 74 output_specifics.version());
74 EXPECT_EQ(extension_sync_data.name(), output_specifics.name()); 75 EXPECT_EQ(extension_sync_data.name(), output_specifics.name());
75 } 76 }
76 77
77 } // namespace 78 } // namespace
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_sync_data.cc ('k') | chrome/browser/extensions/external_policy_loader_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698