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

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

Issue 100543005: Update all users of base::Version to explicitly specify the namespace, and clean up the header. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: someday it will work Created 6 years, 12 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"
10 #include "sync/protocol/extension_specifics.pb.h" 9 #include "sync/protocol/extension_specifics.pb.h"
11 #include "sync/protocol/sync.pb.h" 10 #include "sync/protocol/sync.pb.h"
12 #include "testing/gtest/include/gtest/gtest.h" 11 #include "testing/gtest/include/gtest/gtest.h"
13 #include "url/gurl.h" 12 #include "url/gurl.h"
14 13
15 namespace { 14 namespace {
16 15
17 const char kValidId[] = "abcdefghijklmnopabcdefghijklmnop"; 16 const char kValidId[] = "abcdefghijklmnopabcdefghijklmnop";
18 const char kVersion[] = "1.0.0.1"; 17 const char kVersion[] = "1.0.0.1";
19 const char kValidUpdateUrl[] = 18 const char kValidUpdateUrl[] =
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 output_specifics.update_url()); 68 output_specifics.update_url());
70 EXPECT_EQ(extension_sync_data.enabled(), output_specifics.enabled()); 69 EXPECT_EQ(extension_sync_data.enabled(), output_specifics.enabled());
71 EXPECT_EQ(extension_sync_data.incognito_enabled(), 70 EXPECT_EQ(extension_sync_data.incognito_enabled(),
72 output_specifics.incognito_enabled()); 71 output_specifics.incognito_enabled());
73 EXPECT_EQ(extension_sync_data.version().GetString(), 72 EXPECT_EQ(extension_sync_data.version().GetString(),
74 output_specifics.version()); 73 output_specifics.version());
75 EXPECT_EQ(extension_sync_data.name(), output_specifics.name()); 74 EXPECT_EQ(extension_sync_data.name(), output_specifics.name());
76 } 75 }
77 76
78 } // namespace 77 } // 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